Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3.0a9
2019.4
2019.4.9f1
2020.1
2020.2
2021.1
Issue ID
1297721
Regression
Yes
A hard stack overflow happens when raycasting vs a dense mesh in BV4_ProcessStreamKajiyaOrderedQ
How to reproduce:
1. Open the user's attached "BrokenMeshRepro.zip" project
2. Open the "SampleScene" Scene
3. Drag the mouse on "BrokenMesh" GameObject to Raycast it
Expected result: No crash occurs
Actual result: Editor crashes
Reproducible with: 2019.3.0a9, 2019.4.16f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a10
Not reproducible with: 2018.4.30f1, 2019.3.0a8
Notes:
- Editor also crashes when opening the Physics Debugger and checking the Collision Geometry property
- The issue is reproducible in both Play Mode and in Build
WORKAROUND: Disable "Use Fast Midphase" option on such meshes.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Unity crashes or freezes when loading an AssetBundle with AssetBundle.LoadFromFile
- [Linux][Profiler] Missing Profiler error has thrown clicking the "Save Changes" button
- 1 frame long audio clip plays an inconsistent audio sample or does not play at all in the Timeline
- SerializedObject ApplyModifiedProperties is not returning true when editing a List field with custom editor code
- Labels Overlap in NavMeshObstacle Inspector when shape is set to "Box" and Inspector's width is small
Resolution Note:
A workaround is available but the real fix is expected to come with PhysX 5 that is not yet out.