I’m setting emission at run time , flashing kinda stuff. But I’ve notice that it only updates if in the editor the material properties are visible.
I’m using material.SetColor(“_EmissionColor”, _color)
Am I missing so thing here ?
I’m setting emission at run time , flashing kinda stuff. But I’ve notice that it only updates if in the editor the material properties are visible.
I’m using material.SetColor(“_EmissionColor”, _color)
Am I missing so thing here ?
Seems like a bug or is there something I need to set or a specific way I need to set it other than material.SetColor(“_EmissionColor”, _color) ?
Video showing that the emission only works when the material tab is open in the inspector.