Search Issue Tracker

In Progress

Fix In Review for 2021.3.31f1

Fixed in 2022.3.8f1, 2023.1.13f1, 2023.2.0b6, 2023.3.0a1



Found in


Issue ID




Crash on "typeinfo for NonCopyable" when copying and pasting a nested Prefab Variant



Reproduction steps:
1. Open the attached project “CubeUnity-Repro”
2. Open the "VfxKaZar_Ongoing" Prefab in Prefab Mode
3. In the Hierarchy find “OngoingBrick_TargetCardInstance”, and select its child “VfxTestCard”
4. Copy and Paste “VfxTestCard” into the Hierarchy

Expected result: Prefab Variant is pasted
Actual result: Editor crashes

Reproducible with: 2021.3.23f1
Could not test with: 2020.3.47f1, 2022.2.16f1, 2023.1.0b13, 2023.2.0a12 - Custom packages errors

Reproducible on: macOS 13.3 (M1 Max), Windows 10

First few lines of stack trace:

#0 0x000001061f9af0 in typeinfo for NonCopyable
#1 0x000001027ec794 in Transform_CUSTOM_GetChild(ScriptingBackendNativeObjectPtrOpaque*, int)
#2 0x000004779c544c in (wrapper managed-to-native) UnityEngine.Transform:GetChild (UnityEngine.Transform,int) [\{0x446685768} + 0xcc] (0x4779c5380 0x4779c5504) [0x167042a80 - Unity Child Domain]
#3 0x0000044e4788fc in CubeUnity.App.Game.Visual.CardViewProxy:Cleanup () [\{0x3d539cdd8} + 0x344] [/Users/whuang/Projects/cube/CubeUnity/Assets/Code/App/View/Vfx/Visual/CardViewProxy.cs :: 531u] (0x44e4785b8 0x44e478b14) [0x167042a80 - Unity Child Domain]
#4 0x0000044e476fcc in CubeUnity.App.Game.Visual.CardViewProxy:UpdateProxyCard () [\{0x3d539cb08} + 0xf4] [/Users/whuang/Projects/cube/CubeUnity/Assets/Code/App/View/Vfx/Visual/CardViewProxy.cs :: 213u] (0x44e476ed8 0x44e477b84) [0x167042a80 - Unity Child Domain]

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.