Hi, I’m making a settings system where the player has an option to toggle shadows On/Off. I also have a setting that, when enabled, tracks the player’s position and turns off distant shadows based on the player’s desired setting (32 studs to 1024 studs). This all works well, the base parts have their CastShadow property change based on the settings, however I noticed a rather annoying issue that arises from this.
It appears that any and all Light Instances, except for PointLight, seemingly break after the CastShadow property is changed to base parts.
I will attach a YouTube link of an unlisted video. In it you can see how the SpotLight (in this example) behaves before and after the base parts go through the CastShadow change.
My game uses the “Future” Lighting Technology. These lights all have the “Shadows” property set to true. I do not wish to change the Lighting Technology or the Shadows property to “fix” this issue, as I believe this is a bug with the engine and the Lighting should not behave this way in the first place.