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)