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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.