Search Issue Tracker

Duplicate

Votes

0

Found in

2020.3

2020.3.4f1

2021.1

2021.2

Issue ID

1331099

Regression

No

Crash on Rigidbody_Get_Custom_PropMass when ArticulationBody collides with RigidBody

Physics

-

How to reproduce:
1. Open the attached project from "case1331099.zip"
2. Open Scene "Main"
3. Enter Play Mode
4. Select object "LeftHand" under "VRPlayer" in Hierarchy and move it so it collides with object "Cube_Fractured"
5. Observe crash

Reproducible with: 2020.3.7f1, 2021.1.6f1, 2021.2.0a16
Couldn't test with: 2018.4.34f1, 2019.4.26f1 (Code not implemented)

First lines of stacktrace:
0x00007ff63488fec9 (Unity) Rigidbody_Get_Custom_PropMass
0x000001d335bdb3b3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rigidbody:get_mass (UnityEngine.Rigidbody)
0x000001d335b6766b (Mono JIT Code) [FractureObject.cs:190] FractureObject:OnCollisionEnter (UnityEngine.Collision)
0x000001d335b4e59b (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr)
0x00007ff86f42e640 (mono-2.0-bdwgc) [mini-runtime.c:2812] mono_jit_runtime_invoke
0x00007ff86f3b2ad2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke

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.