Search Issue Tracker




Found in


Issue ID




Material properties not updated at runtime until expanded in inspector



How to reproduce:

1. Open attached project
2. Open scene material_test_scene.unity
3. Play scene
4. Press the Space Bar to create and assign a material to the cubes
- Notice that apparently only the Albedo is assigned properly
5. Select one of the cubes in the scene view
6. Expand the Material inspector
- Note how the cubes get updated with highlights

Comments (21)

  1. Kadaj

    Mar 13, 2019 17:07

    Is someone to find a workaround? Re-enabled a keyword doesn't work for me...

  2. GCCooper

    Feb 22, 2019 18:00

    Also getting this in 2018.2.14f1

  3. CloudyVR

    Nov 06, 2018 03:25

    Any update to this yet?

  4. Ajwad_Quixel

    Oct 19, 2018 14:38

    This issue is still occurring in 2018.2.10. Please fix this it has been 3 years now.

  5. cobolfoo

    Sep 02, 2018 05:25

    I had the same issues with normal maps. I needed to put a placeholder texture in the material normal map slot. I usually set the proper normal map at runtime by setting _BumpMap property.

    Without the placeholder texture, the normal map was not enabled until I clicked on the material.

  6. tillmonkthered

    Aug 28, 2018 18:49

    This is still occuring in 2018.2.5. I can change _EmissionColor via script and the values update, but the change doesn't appear on screen till I expand the material component of the object in question

  7. mmortall

    Aug 22, 2018 13:06

    Any updates? Bug still occurs in Unity 2017.4.5 LTS

  8. maxzerrr

    Aug 18, 2018 07:30

    Any updates on this?

  9. phatboy225

    Mar 17, 2018 00:30

    Is there any update to this? I'm switching between shaders in the editor, and the material's shader keywords are the same regardless of the shader. Setting the material's shader back to the original results in my object disappearing until I expand the inspector. Enabling all keywords makes no difference.

  10. karl_jones

    Jun 05, 2015 09:52

    You are correct DBURBDEN1. We are going to better document this.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.