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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (2018.3.X):
Not reproducible with Version 2018.3.0b8