Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

6000.0.47f1

6000.1.0b15

6000.2.0a9

Issue ID

UUM-103177

Regression

No

[MacOS] Crash on CompositeCollider2D::PrepareShapes when adding or removing Components from a Prefab with a Composite Collider 2D Component

-

Steps to reproduce:
1. Open the “user’s attached project”
2. Open the “Desk_L” Prefab Asset
3. Add or remove the “Box Collider 2D” Component through the Inspector
4. Observe the crash

Reproducible with versions: 2023.3.0a14, 6000.0.47f1, 6000.2.0b15, 6000.2.0a9
Couldn't test with versions: 2021.3.51f1, 2022.3.61f1, 2023.3.0a13 (due to compiler errors)

Reproducible on: macOS 15.3.2 (M1 Max)
Not reproducible on: Windows 10

Note: also reproducible with the “Sprite Renderer” or Script Components

First few lines of StackTrace:
{noformat}
#0 0x00000105449010 in CompositeCollider2D::PrepareShapes(core::vector<Box2D::b2Shape*, core::allocator<Box2D::b2Shape*, 0ul>>&, Matrix4x4f const&)
#1 0x00000105420ed4 in Collider2D::CreateFixtures(Rigidbody2D*)
#2 0x00000105447280 in CompositeCollider2D::AwakeFromLoad(AwakeFromLoadMode)
#3 0x00000104d4ee14 in AwakeFromLoadQueue::InvokeAwakeFromLoad(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode)
#4 0x00000104d4eba0 in AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool){noformat}

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.