Search Issue Tracker
Fixed
Fixed in 2021.3.5f1, 2022.1.6f1, 2022.2.0a17
Votes
0
Found in
2022.1.1f1
2022.2.0a13
Issue ID
UUM-644
Regression
No
[Fully landed and backported] Crash on scripting_object_get_class when attempting to build data
Reproduction steps:
1. Open the user's attached project
2. Build the project
Expected result: Build is successful
Actual result: The Editor crashes
Reproducible with: 2021.2.19f1, 2021.3.0f1
Couldn't test with: 2019.4.38f1, 2020.3.34f1, 2021.3.2f1, 2022.1.0f1, 2022.2.0a12 (custom package errors)
Note:
- deleting the Library will stop the crashing, but the crash will reproduce again after deleting the Library again
First lines of stacktrace:
0x00007ff639fac635 (Unity) scripting_object_get_class
0x00007ff63ace3b77 (Unity) CollectAllClassesOnObject
0x00007ff63ace5035 (Unity) CollectAllSerializeReferenceTypesAndPersistentCallTargets
0x00007ff63ace72dd (Unity) CompileGameResourcesFolderDependencies
0x00007ff63b9e3d5b (Unity) BuildPlayerData
0x00007ff63b9ee44c (Unity) DoBuildPlayer_Build
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2022.2.0a17):
Fix crash that could occur when building assets using SerializeReference. The crash was related to C# objects accidentally being referenced after garbage collection had destroyed them.
Resolution Note (fix version 2022.1.6f1):
Fix crash that could occur when building assets using SerializeReference. The crash was related to C# objects accidentally being referenced after garbage collection had destroyed them.
Resolution Note (fix version 2021.3.5f1):
Fix crash that could occur when building assets using SerializeReference. The crash was related to C# objects accidentally being referenced after garbage collection had destroyed them.