I’m working on a game that lets the player switch their shape (ex: square to triangle) and it does this by changing mesh filters as well as updating their mesh renderer material. However, when you click the button to switch shape, the obj itself changes but the material won’t update so it stays the same material as it previously was (i.e. the material color of the square instead of the triangle). It shows that the material does change in the inspector, but the base color material stays the same.
_playerRenderer.material = _triangleMat; is the only line I’m using to achieve this.
The screenshots show the material updating in the inspector but not changing color.