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
- Text is unreadable when DLSS is applied to the Canvas with Render Mode set to World Space
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
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.