Set Color Light doesn't work in packaged game

Some stuff doesn’t work in packaged game but work perfectly in editor. Some stuff I managed to fix by myself but I’m stuck on this. Set Color Light works in editor but doesn’t work in packaged game. There’s also a timeline that changes the light softly.

Where is this code?