Search Unity

Materials altered in Animation suddenly don't work when playing the scene

Discussion in 'Animation' started by ToastHatter, May 24, 2019.

  1. ToastHatter

    ToastHatter

    Joined:
    Nov 11, 2016
    Posts:
    53
    While working on a character for my game, I decided to alter the colour of their arms using animation to highlight the power of the attack, i did so by changing the material on the model to another one, and it's been working perfectly fine with no issues at all. However randomly today while I was working on it this happened.

    upload_2019-5-24_15-23-10.png

    While playing, and playing only, the materials don't change, and instead completely unrelated parts of the model change materials. Important to note the character model is made of different parts, the arms and hands are separate from the torso model and from each other, so it makes this all the more confusing.

    upload_2019-5-24_15-26-19.png
    this also ended up happening, the material on the arm just vanishes and goes pink.

    I have tried restarting unity a couple times and there is no change.

    If anyone has any ideas as to what is going on that would be greatly appreciated.
     

    Attached Files:

  2. simonbz

    simonbz

    Unity Technologies

    Joined:
    Sep 28, 2015
    Posts:
    295