Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.40f1
2022.3.35f1
6000.0.8f1
6000.1.0a7
7000.0.0a1
Issue ID
UUM-74651
Regression
No
Crash on Object::GetCachedScriptingObject when entering Play Mode
Reproduction steps:
1. Open the attached “repro-project“
2. Open the “Assets/CrashKonijn/GOAP/Demos/Complex/Scenes/ComplexDemoScene.unity“ scene
3. Enter Play Mode
4. Observe the crash
Reproducible with: 2021.3.40f1, 2022.3.35f1, 6000.0.8f1
Reproduced on: Windows 10
Not reproducible on: No other environment tested
Notes:
1. Not reproducible when disabling the “ItemCollection“ GameObject in the Hierarchy window
2. Not reproducible in Player
First few lines of the stack trace:
0x00007FFAFD224315 (Unity) Object::GetCachedScriptingObject
0x00007FFAFDF30F02 (Unity) Scripting::ScriptingWrapperFor
0x00007FFAFD128E7E (Unity) Component_Get_Custom_PropGameObject
0x0000026DFFAE412A (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Component:get_gameObject_Injected (intptr)
0x0000026DFFAE3EEB (Mono JIT Code) UnityEngine.Component:get_gameObject ()
0x0000026E8264100B (Mono JIT Code) Demos.Complex.Classes.Items.Apple:Demos.Complex.Interfaces.IHoldable.get_gameObject ()
Comments (1)
-
CrashKonijn
Jul 02, 2024 14:19
Hi there!
This does seem like a unity issue.
Are you getting this on a clean 'install' of my package? Any specific version you're using?
(I can't see the attached files).Thanks!
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
'Something' gets corrupted here and even triggering script compilation (with any changes) fixes it. As a workaround for the customer, we can suggest deleting Library folder.