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
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
Resolution Note:
A workaround is available but the real fix is expected to come with PhysX 5 that is not yet out.