Search Issue Tracker
Fixed
Fixed in 2023.1.0b18, 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 ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2023.2.0a15):
Fixed in 2023.2.0a15, Error in Console shows up again instead of crashing