Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
Votes
0
Found in
2021.3.40f1
2022.3.35f1
6000.0.8f1
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 ()
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 when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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!