Search Issue Tracker
By Design
Votes
2
Found in
5.3.5f1
Issue ID
815212
Regression
No
MeshRenderer.additionalVertexStreams discards data if set in Awake
Steps to reproduce:
1) Download attached project 'VertexDataTest.zip' and open in Unity.
2) Open scene 'AOTest' and press Play.
Note: Two spheres and planes in the front remain white(see attached image 'white.png'.)
3) Press Stop.
4) Select any of the spheres and planes with BakedMeshData components attached and uncheck 'Run In Awake' in Inpsector tab.
5) Press play again, and see that the data is properly assigned(see attached image 'assigned.png'.)
Reproduced with : 5.3.6f1, 5.4.0f1, 5.5.0a3.
Comments (1)
-
MaxRoetzler
Oct 20, 2017 13:59
Same in 2017.2
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
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
Resolution Note:
by-design as leaving play mode resets all the data, can't get data changes to scene assets from playmode back to game
workaround: do it in Update()