Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a1
2018.3.9f1
2019.1.0a1
Issue ID
1138305
Regression
No
Unity freezes on an Easy Save plugin script when project is being built
To reproduce:
1. Open user's attached project ("Ridunkulous2019")
2. CTRL +B to Build the project
- Editor freezes
Reproduced with: 2018.3.12f1, 2019.1.0b10
Notes:
- Could not test with Unity 2017.4 as it crashes instantly after launching the project
- Could not test with 2019.2 due compilation errors
- Unity unfreezes after long period of time with numerous StackOverflow errors
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
EditorUtility.CollectDependencies works by performing serialization on the objects passed in just like what happens during a build. This means that OnBeforeSerialize will be triggered just as expected right before serialization occurs. So calling this API from within a OnBeforeSerialize callback can cause an infinite loop depending on the objects that you passed into the API and what they reference.