Search Issue Tracker
Fixed in 2023.1.0b18
Fixed in 2023.1.X, 2023.2.X, 2023.2.0a15
Votes
0
Found in
2023.1.0b13
2023.2.0a11
Issue ID
UUM-33830
Regression
Yes
Crash on Object::GetCachedScriptingObject when entering Play Mode after missing a reference variable
How to reproduce:
1. Open the attached project from the comments
2. Open Scene "WanderingAIScene"
3. Enter Play Mode
Expected result: Error message for missing reference used to be printed in Console
Reproducible with: 2023.1.0a17, 2023.1.0b13, 2023.2.0a11
Not reproducible with: 2020.3.47f1, 2021.3.24f1, 2022.2.16f1, 2023.1.0a16
First lines of stack trace:
0x00007FFB9C9EA375 (Unity) Object::GetCachedScriptingObject
0x00007FFB9C896AE6 (Unity) GameObject_CUSTOM_get_transform_Injected
0x000002063D720C7A (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GameObject:get_transform_Injected (intptr)
0x000002063D720BB3 (Mono JIT Code) UnityEngine.GameObject:get_transform ()
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
- "DirectoryNotFoundException" is thrown and Shader Graph does not open when opening a .shadegraph from a long path
- “Full Screen Pass Renderer Feature_Old GUID” text is cut off in Renderer Features window
- "Undo: Already found nextRootTransform, but with different state cached" error thrown when undoing changes made to the Hierarchy using a script
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
Resolution Note (fix version 2023.2):
Fixed in 2023.2.0a15, Error in Console shows up again instead of crashing