Search Issue Tracker

Fixed

Fixed in 2023.1.0a16

Votes

0

Found in

2023.1.0a10

Issue ID

UUM-13922

Regression

Yes

Crash on CapsuleCollider::SetScale when rotating a GameObject with a CapsuleCollider component

--

-

Reproduction steps:
1. Open the user’s attached project
2. Enter Play Mode
3. In the Hierarchy, under the “Parent” GameObject, click “Capsules” GameObject
4. Click “Scene”
5. Select “Rotate Tool”
6. Rotate the “Capsules” GameObject

Expected result: The “Capsules” GameObject is rotated
Actual result: Unity Editor crashes

Reproducible with: 2023.1.0a4, 2023.1.0a10
Not reproducible with: 2020.3.39f1, 2021.3.10f1, 2022.1.16f1, 2022.2.0b7, 2023.1.0a3

Reproducible on: Windows 10 Pro 21H2

First lines of the stack trace:

{noformat}0x00007FFA0A28550D (Unity) CapsuleCollider::SetScale
0x00007FFA0A2B97A9 (Unity) PhysicsTransformSync::Sync
0x00007FFA0A287F1F (Unity) PhysicsManager::SyncTransforms
0x00007FFA0A286EE3 (Unity) PhysicsManager::Simulate
0x00007FFA0A27A768 (Unity) `PhysicsManager::InitializeClass'::`2'::FixedUpdatePhysicsFixedUpdateRegistrator::Forward{noformat}

  1. Resolution Note (fix version 2023.1.0a16):

    issue handled in the linked pr. a missing ::GetEnabled() check caused the crash.

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.