Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1117386
Regression
No
Mesh scaling results in performance drop when using non-default Mesh Collider parameters
Reproduction steps:
1. Open the attached project
2. Open the "SampleScene" scene
3. Press "Play"
4. Select all children GameObjects of the GameObject "Lambo_James_Robbins"
5. Inside Mesh Collider, set the Mesh Cooking Options -> Everything
Expected: Editor does not stutter or has minimal performance impact
Actual: Editor starts stuttering a lot
Reproduced with: 2017.4.18f1, 2018.3.3f1, 2019.1.0a14, 2019.2.0a1
Note: All pre 2018.3 versions had an "Inflate Convex Mesh" option which if turned off after selecting "Everything" makes the performance smooth again.
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note:
Custom mesh flags are per MeshCollider instance, and have to baked into the mesh when cooking, it's not something we can apply on top of an already cooked stream, like we do with scaling. For that reason, the usage of custom cooking flags will make it so that we cook a new copy of a mesh per each instance.