Search Issue Tracker

Fixed in 2021.3.X



Found in



Issue ID




Crash on Component_Get_Custom_PropGameObject when exiting Play mode



How to reproduce:
1. Open the user's attached project
2. Move the Animator tab near the Project and Console tabs
3. Select "NPC" -> "Human" in the Hierarchy
4. Enter Play mode
5. Wait for 1 minute
6. Exit play mode
7. Observe the crash

Reproducible with: 2021.3.1f1, 2021.3.3f1
Not reproducible with: 2021.3.2f1, 2021.3.4f1, 2022.1.3f1, 2022.2.0a15
Couldn't test with: 2019.4.39f1, 2020.3.35f1 (Console errors)

First lines of stack trace:
0x00007ff75723b3a4 (Unity) Component_Get_Custom_PropGameObject
0x0000016136ce8a31 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Component:get_gameObject (UnityEngine.Component)
0x0000016136cecb3b (Mono JIT Code) [Graphic.cs:408] UnityEngine.UI.Graphic:CacheCanvas ()
0x0000016136ceccab (Mono JIT Code) [Graphic.cs:401] UnityEngine.UI.Graphic:get_canvas ()
0x000001617fb9c9e3 (Mono JIT Code) [Image.cs:935] UnityEngine.UI.Image:OnCanvasHierarchyChanged ()
0x00000161a1686918 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

1. Crash may not occur on the first try - in that case, repeat Steps 4-6, but wait for 5 minutes on Step 5
2. In 2022.1 and 2022.2 you have to create the Animator tab yourself before Step 2

  1. Resolution Note (fix version 2021.3):

    Fixed in: 2021.3.2f1, 2021.3.4f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.