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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- 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 which worked with TMP Font Asset Creator
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.