Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.6.1f1
Issue ID
943303
Regression
No
Crash/Freeze when setting prefab instance modifications
How to reproduce:
1. Download attached project files and open project
2. Drag the prefab "Crash Demo" into an empty scene and select it.
3. Click the "Set Custom Instance Modifications (Causes crash or freeze)" button.
4. Observe crash or freeze - it can happen instantly or after a short moment.
4.1 If crash or freeze does not happen, close the project (do not save the scene) and repeat the steps again
Actual result: Whenever custom prefab modifications are manually set using PrefabUtility.SetPropertyModifications, that reference certain Unity objects (and only certain Unity objects - with others it works fine), either 1) an internal Unity crash will happen, or 2) Unity will freeze indefinitely, taking up a full core's worth of CPU time. This happens on both Windows and Mac
Reproduced with: 5.5.2f, 5.6.0f3, 5.6.1f1, 5.6.3p1, 2017.1.0p4, 2017.2.0b8, 2017.3.0a5
Note: Observe that the crash does not happen if you drag the "No Crash Demo" prefab into the scene and click the button. As far as we can tell, this is because it does not contain any UnityEngine.UI related components.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Profiler connects to a different opened Editor project when more than one project is open and building for WebGL with Autoconnect Profiler enabled
- Creating and then deleting the "Integration Update: Rotation" block breaks and makes unusable VFX Graph
- “ArgumentNullException: Value cannot be null.” when deleting a newly created input action
- Undoing the creation of the "Button - TextMeshPro" GameObject only removes Canvas and EventSystem GameObjects
- NullReferenceException errors are thrown when entering the Play Mode when ShaderGraph window is focused
Resolution Note (2018.3.X):
Not reproducible with Version 2018.3.0b8