Lighting.GetSunDirection is not safe to call in parallel

Trying to call Lighting.GetSunDirection during the parallel phase of script execution causes error Function Lighting.GetSunDirection is not safe to call in parallel, which is unexpected given that this function shouldn’t be doing anything unsafe.

This place file has one Actor in workspace that causes the error:
GetSunDirection not parallel safe error.rbxl (53.5 KB)

1 Like

Found someone at Roblox to check this out! Thanks for the report.

1 Like