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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (2018.3.X):
Not reproducible with Version 2018.3.0b8