There's been a few reports in our forums (here and here) that show some users are experiencing a crash on the line FVector location = transform.TransformPosition(getViewLocation(this->GetWorld())); in CesiumSunSky.cpp. While none of us are able to reproduce this bug, it seems likely that some sort of race condition is resulting in this->GetWorld() returning nullptr. Even if this isn't the source of these crashes, it's a good check to add anyways. I've also gone through CesiumSunSky to add checks to other locations where an unexpected nullptr might be possible and would cause a crash.
There's been a few reports in our forums (here and here) that show some users are experiencing a crash on the line
FVector location = transform.TransformPosition(getViewLocation(this->GetWorld()));
inCesiumSunSky.cpp
. While none of us are able to reproduce this bug, it seems likely that some sort of race condition is resulting inthis->GetWorld()
returning nullptr. Even if this isn't the source of these crashes, it's a good check to add anyways. I've also gone throughCesiumSunSky
to add checks to other locations where an unexpected nullptr might be possible and would cause a crash.