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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.