Closed yuziqii closed 2 weeks ago
Hi @yuziqii,
Thanks for the catch! We should definitely check if pViewport
is valid before dereferencing it. Would you be able to open a PR with the change?
Of course! Here is the PR. Let me know if you need any further adjustments.
Closed by #1460 !
When I switch the Editor layout between viewport tab and CeiumPanel tab,
CesiumSunSky
causes a crash if no viewport activated in the Editor. BTW, I'm using CesiumForUnreal v2.6.0 and UE 5.4.pViewport
will be nullptr if no viewport activated.