Realtime GI acts as Baked GI

Hi, I am not sure if this is an issue or not, however
even when in the inspector, the Material is set to “Realtime” on global illumnation, it doesn’t work when I’m in play mode.

It just works out of play mode.
Editor:


InGame: I changed the emission color ingame to blue, and the GI is still red

GI doesn’t know that the material was updated, because this use-case is impossible in player as you won’t have access to the colour like that.
Try using animation instead, it will work out of box both in play and edit mode.

1 Like

So your suggestion is to use animation to change colors? But what I have is a complex seen in my game, this was just an example.

Animation or changing value from script should work. What exactly will be more complex? Hard to evaluate without knowing exact use-case.

In any case I assume you’ve changed the color right now in the material inspector, which isn’t available in player.

In the game, one material (a glowy one) changes color, and I would like the GI to work with it. That is the current issue

Both suggestions are fine for situation like that