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
- Crash on RendererScene::NotifyInvisible when GameObjects are deleted from the Hierarchy in a specific Scene
- "Import projects" button doesn't work in Unity Hub
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
- Shader Graph generates 'İ' in the shader when using Turkish Regional format
- Crash on ParticleSystemUpdateData::CacheSubEmitters(ParticleSystem&) when shared subemitter referenced by multiple nested particle systems
Resolution Note (fix version 2023.2):
Fixed in 2023.2.0a15, Error in Console shows up again instead of crashing