Search Issue Tracker

Duplicate

Duplicate in 6000.5.X

Votes

0

Found in

6000.3.8f1

6000.4.0b8

6000.5.0a7

Issue ID

UUM-134740

Regression

Yes

Crash on GetGeometryHolderFromCollider when trying to inspect the "targetCollider" variable in any IDE Debugger

CodeEditors

-

How to reproduce:
1. Extract and open the attached “IN-132815.zip“ project
2. Open the Assets/Scene/SampleScene.unity scene
3. Open the Project’s solution in Rider
4. In Rider Navigate to the Assets folder
5. Open the “Example.cs” Script
6. Click on the “Unity” logo looking icon and select “Attach to Unity Editor“
7. Create a breakpoint at line 15: “if (targetCollider != null“
8. Navigate back to the Unity Editor
9. Enter Play mode and wait for the breakpoint to activate
10. Once the focus switches back to Rider, try to expand and otherwise inspect the “targetCollider” variable
11. Observe the crash

Reproducible with: 6000.3.0a1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7
Not reproducible with: 6000.0.68f1, 6000.2.0b2

Reproducible on: Ubuntu 22.04, macOS 26.2 (M1 Silicon), Windows 11

Notes:
- This only happens with spawned GameObjects
- The crash also occurs when using Visual Studio 2022

First few lines of stacktrace:
0x00007FFF22029966 (Unity) Physics::PhysxCompatibility::GetGeometryHolderFromCollider
0x00007FFF21442BB5 (Unity) PhysXGeometryHolderExtension_CUSTOM_GetGeometryHolder
0x000002412A95DCF8 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.LowLevelPhysics.PhysXGeometryHolderExtension:GetGeometryHolder_Injected (intptr,UnityEngine.LowLevelPhysics.GeometryHolder&)
0x000002412A95DB13 (Mono JIT Code) UnityEngine.LowLevelPhysics.PhysXGeometryHolderExtension:GetGeometryHolder (UnityEngine.Collider)
0x000002412A95D48B (Mono JIT Code) UnityEngine.Collider:get_GeometryHolder ()

  1. Resolution Note:

    Hello! this case is a duplicate of another case we've recently handled.
    see the following: https://issuetracker.unity3d.com/issues/crash-on-physicscommands-physx-getshapegeometryholder-when-calling-a-method-on-a-disabled-object

    Cheers,
    AlexRvn.

  2. Resolution Note (6000.5.X):

    Hello! this case is a duplicate of another case we've recently handled.
    see the following: https://issuetracker.unity3d.com/issues/crash-on-physicscommands-physx-getshapegeometryholder-when-calling-a-method-on-a-disabled-object

    Cheers,
    AlexRvn.

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.