Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2017.3.1f1
2017.4
2018.4
2019.2
2019.3
2020.1
Issue ID
1013310
Regression
No
Overload is missing when executing SkinnedMeshRenderer.BakeMesh function for Mesh vertices to be relative to parent’s Scale
To reproduce:
1. Open the attached project's "unity-mesh-bake-bug-master.zip" Scene labeled "TestMeshBake"
2. Enter the Play mode
3. Observe the Game View
Expected: Scaled and baked GameObject has its vertices relative to unscaled GameObject's SkinnedMeshRenderer's transform
Actual: Scaled and baked GameObject doesn't have its vertices relative to unscaled GameObject's SkinnedMeshRenderer's transform
Reproduced in: 2017.4.36f1, 2018.4.16f1, 2019.2.19f1, 2019.3.0f5, 2020.1.0a20
Note: Link to BakeMesh documentation https://docs.unity3d.com/ScriptReference/SkinnedMeshRenderer.BakeMesh.html
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
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
Resolution Note (fix version 2020.2):
Overload has been added to BakeMesh to take baking into account. By default this is set to false to keep backwards compatibility. Fix available in Unity 2020.2.0a3 and above.