"LightingStyle is not a valid member of Lighting"

Lighting has these properties:

I can’t change these properties within scripts, I get this error:

“LightingStyle is not a valid member of Lighting”

Does anyone know how to resolve this issue?

Use other properties like Brightness or ClockTime

You cannot edit these properties at runtime.

The page you linked even says this:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.