Search Issue Tracker

Fixed

Fixed in 6000.0.50f1, 6000.1.4f1, 6000.2.0b2, 7000.0.0a27

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}

  1. Resolution Note (fix version 6000.2.0b2):

    Fix for this issue is available on Unity 6000.2.0b2 and above

  2. Resolution Note (fix version 6000.1.4f1):

    Fix for this issue is available on Unity 6000.1.4f1 and above

  3. Resolution Note (fix version 6000.0.50f1):

    Fix for this issue is available on Unity 6000.0.50f1 and above

Add comment

Log in to post comment