Search Issue Tracker
By Design
Votes
1
Found in
5.5.2f1
Issue ID
893930
Regression
No
Unity crashes in GameObject::IsActive when PrefabUtility.ReplacePrefab is called
Steps to reproduce:
1. Download project from the link below and open it
2. Open "MainMenu" scene
3. Open hierarchy window and select CoreObjects->MainMenu->Play
4. Open Inspector window and disable Play prefab
5. Press Apply
-Crash
The user also provided a video which reproduces the issue.
Note: commenting out "PrefabUtility.ReplacePrefab(tempCopy, prefab);" (24 line) in PrefabExtensions.cs fixes the issue.
Results: Unity crashes when PrefabUtility.ReplacePrefab(tempCopy, prefab); is called
Reproduced on: 5.5.2f1, 5.6.0b11, 2017.1.0a2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
- “GUIStyle” and “NullReferenceException” errors thrown in the Console when opening Object Field during script compilation
Add comment