Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.31f1

2022.3.11f1

2023.1.17f1

2023.2.0b14

2023.3.0a10

Issue ID

UUM-53672

Regression

No

Crash on physx::shdfnd::sort while in Play Mode when X and Z Transform vectors have high values

-

Reproduction steps:
1. Open the attached "crash_IN-56501.zip" project
2. Open the "Assets/Scenes/SampleScene" Scene
3. Select the “Plane“ GameObject
4. In the “Transform“ Component, set the “Scale“ values of both “X“ and “Z“ to 1e+10
5. Enter the Play Mode
6. Observe the crash

Reproduced with: 2021.3.31f1, 2022.3.11f1, 2023.1.17f1, 2023.2.0b14, 2023.3.0a10

Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested

Note: Reproducible in Player

First few stack frames:
0x00007FF71BA61FF8 (Unity) physx::shdfnd::sort<physx::Dy::ContactPatch * __ptr64,physx::Dy::SortBoundsPredicateManifold,physx::shdfnd::ReflectionAllocator<physx::Dy::ContactPatch * __ptr64> >
0x00007FF71BA74836 (Unity) physx::Dy::ContactReduction<6>::reduceContacts
0x00007FF71BA70FED (Unity) physx::Dy::PxsSolverConstraintPostProcessTask::mergeContacts
0x00007FF71BA75E19 (Unity) physx::Dy::PxsSolverConstraintPostProcessTask::runInternal
0x00007FF71B997D12 (Unity) physx::Cm::BaseTask::run

  1. Resolution Note:

    This scale is way too large for a float to do arithmetic with, however making a reliable early out is challenging since it would have to account for the composite effect of vertices location and transforms.

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.