[RELEASED] for UE4: Complete Sky and Weather System

After testing, TureSky runs in 4.22. If 4.22 is started in DX12 mode, will crash when it picks up the sky sequence.

At present, DX11 can run normally, but DX12 mode will cause a direct crash.

Please Fix problem, otherwise you can’t run in DX12 mode, which means that new features such as DXR will not be available.

Unhandled exception

TrueSkyPluginRender_MT!EnsureInitialized() [d:\jarvis\releases\simulversion\4.1a\simul\plugins\ue4\pluginrenderinterface\renderingplugin.cpp:288]
TrueSkyPluginRender_MT!StaticRenderFrame2() [d:\jarvis\releases\simulversion\4.1a\simul\plugins\ue4\pluginrenderinterface\renderingplugin.cpp:882]
UE4Editor_TrueSkyPlugin!FTrueSkyPlugin::RenderFrame() [d:\jarvis\uplugin\version\4.22.1\output\plugins rueskyplugin\hostproject\plugins rueskyplugin\source rueskyplugin\private rueskyplugin.cpp:3894]
UE4Editor_TrueSkyPlugin!FRHICommand<FRHIPostOpaqueCommand>::ExecuteAndDestruct() [d:\jarvis\uplugin\version\4.22.1\engine\source\runtime\rhi\public\rhicommandlist.h:681]
UE4Editor_RHI
UE4Editor_RHI
UE4Editor_RHI
UE4Editor_Core
UE4Editor_Core
UE4Editor_RenderCore
UE4Editor_Core
UE4Editor_Core
kernel32
ntdll