Search Issue Tracker
Active
Under Consideration for 6000.3.X
Votes
0
Found in
6000.3.0b8
Issue ID
UUM-125154
Regression
Yes
Crash on GameObject::QueryComponentByType when creating a Prefab containing a Sorting Group component with 'Sort 3D as 2D' enabled
Steps to reproduce:
1. Open the “user’s attached project”
2. Observe the crash
Alternatively:
1. Create a new Universal 3D project
2. Create a new “Rendering/URP 2D Renderer” through the Project window
3. Select the “PC_RPAsset” Asset
4. Under “Rendering” select the created “URP 2D Renderer” for the Renderer List through the Inspector
5. Create an Empty GameObject through the Hierarchy
6. Add a “Sorting Group” component through the Inspector
7. Enable the “Sort 3D as 2D” option under the “Sorting Group” component
8. Drag the created GameObject to the Project Window to create a Prefab
9. If no crash has occurred, open the created Prefab and delete the “Sorting Group” component
10. Observe the crash
Reproducible with versions: 6000.3.0a5(f9a1fab5607a), 6000.3.0b8
Not reproducible with versions: 6000.0.61f1, 6000.2.10f1, 6000.3.0a4, 6000.4.0a4
Reproducible on: macOS 15.7.1 (M1 Max), Windows 10
Not reproducible on: no other environment tested
First few lines of StackTrace:
#0 0x000001028d9364 in GameObject::QueryComponentByType(Unity::Type const) const
#1 0x00000103e01064 in RenderAs2D::RenderAs2DPlayerLoopUpdate()
#2 0x00000103e01e98 in RenderAs2D::InitializeClass()::PostLateUpdateRenderAs2DUpdateRegistrator::Forward()
#3 0x00000102ceb948 in ExecutePlayerLoop(NativePlayerLoopSystem)
#4 0x00000102ceb97c in ExecutePlayerLoop(NativePlayerLoopSystem*)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] [Android] External library generics fail during IL2CPP build
- Animator State’s Multiplier field shows a Parameter that no longer exists when the Parameter was assigned and then deleted
- Shadows disappear and come back after couple frames when using OnDemand Shadows and OnDemand Reflection
- “Delete Selected Items” is still active in the menu when Label is not selected in New Sprite Library Asset window
- "View Generated Shader" button in Shader Graph Asset is not aligned with other buttons
Add comment