Search Issue Tracker
By Design
Votes
0
Found in
5.5.0f3
Issue ID
870092
Regression
No
Using Mesh.SetUVs instead of Mesh.uv won't work with Mesh.GetNativeVertexBuffer
Steps to reproduce:
1. Download Repro.zip and open "test" scene
2. Disable the Blast and enable the Ribbon gameobject
3. Press play notice that top line has gradient
4. Go into Player Settings and type BUG_SETUVS in the Scripting Define Symbols field. (This switches the UV creation from Mesh.uv to Mesh.SetUVs)
5. Press play, notice top line now green.
Mesh.uv and Mesh.SetUVs switch is done in PopcornFX/Scripts/Runtime/PKFxManager.cs at line 1594.
Expected results: Mesh.uv and mesh.SetUV should produce same results.
Actual results: It seems like UVs created with Mesh.SetUV won't read back the UV component in the vertex buffer.
Reproduced with: 5.6.0b4, 5.5.0p4. 5.5.0f3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment