Closed apautrot closed 8 years ago
When removing the component VertexInstanceStream, the change on MeshRenderer is not reverted. To fix this, you could add this code to the VertexInstanceStream component :
void OnDestroy () { if ( ! Application.isPlaying ) { MeshRenderer mr = GetComponent<MeshRenderer> (); if ( mr != null ) mr.additionalVertexStreams = null; } }
fixed, thanks!
When removing the component VertexInstanceStream, the change on MeshRenderer is not reverted. To fix this, you could add this code to the VertexInstanceStream component :