Sky Creator

Dmitry,

Awesome! Works perfectly. Thanks.

Hi @Dmitry_Karpukhin, I just downloaded the latest version available for 4.26 from the EGS, but it shows as 1.30 in the Plugins list in UE; is this correct?

I’m also getting a crash when compiling a child BP of SkyCreator:

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000010

UE4Editor_Niagara!FNiagaraComputeExecutionContext::Tick() [D:\Build++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraScriptExecutionContext.cpp:1107]
UE4Editor_Niagara!FNiagaraEmitterInstance::PreTick() [D:\Build++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraEmitterInstance.cpp:1089]
UE4Editor_Niagara!FNiagaraSystemInstance::Tick_Concurrent() [D:\Build++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemInstance.cpp:2169]
UE4Editor_Niagara!FNiagaraSystemInstanceAsyncTask::DoTask() [D:\Build++UE4\Sync\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemSimulation.cpp:434]
UE4Editor_Niagara!TGraphTask::ExecuteTask() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:886]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasks() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:1065]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasksUntilQuit() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:888]
UE4Editor_Core!FTaskThreadAnyThread::Run() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:965]
UE4Editor_Core!FRunnableThreadWin::Run() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:86]

I’m also redoing my weather presets (given the clouds change), and noticed the Sun Light | Intensity property set in the weather preset is ignored (the value set in the SkyCreator BP is always used).

Hello!
It’s correct, the last version of the plugin on the 4.26 is 1.30. For the newest versions you should try latest engine versions, starting with 4.27 (I’m only able to support the latest 3 versions of the engine as a plugin developer).
Yes, 4.26 is full of Niagara crashes and this is one of them. It’s a rare circumstances combined that triggers the bug and I believe it’s because Weather FX of Sky Creator are using GPU particles. It’s fixed since 4.27, you can create a child BP of SC with no problem there.
To enable weather presets using Sun Light Intensity parameter, you should disable the “Sun Constant Intensity” variable on the SC actor.

Thanks! We’re switching to UE5.1 soon (skipped 4.27): glad the crashes are known and solved in later versions.

I might have missed this in the docs, but what’s the best way to set North? Simply rotating the SkyCreator actor and assuming North is 0° yaw?

That’s right! Easy as that. The actor itself has a compass mesh which will point at north.

Great thanks!

Hi @Dmitry_Karpukhin, me again. It seems the lightnings Niagara asset isn’t being packaged, since I get this error in packaged games only:

LogStreaming: Error: Couldn’t find file for package /SkyCreatorPlugin/Effects/SC_WeatherFX_LightningStrike_System requested by async loading code. NameToLoad: /SkyCreatorPlugin/Effects/SC_WeatherFX_LightningStrike_System

Lightning strikes are indeed invisible, but they’re definitely spawning since I can see the clouds light up around the spawn point.

Adding +DirectoriesToAlwaysCook=(Path="/SkyCreatorPlugin/Effects") to DefaultGame.ini seems to fix the issue.

Also, is there a way to have precipitation below the map’s XY 0 plane?

Hello!
Hmm, that’s strange. I usually test and package all the published versions, but this never occured to me. Thanks for reporting, I’ll double check that.
I’ll link the answer to a second one: Documentation – Dmitry Karpukhin

Looking at the reference viewer that particular asset isn’t referenced by anything (I guess it’s loaded somewhere in the code), so UE doesn’t know it has to package it. Maybe you’re testing with the cook everything setting?

Regarding the other issue, thanks. I did try the Cutoff World Height setting on the Weather FX component, but I couldn’t find the Material FX component. I now realized the setting had to be changed in the Weather FX and Material FX categories of the BP.

1 Like

can anyone help me create lightning effect, thanks

Does this plugin have support for “placed” clouds (ala UE’s Blueprint Placed Clouds) or otherwise ways to directly control cloud locations?

No, but this is in roadmap for the next 1.4 version.

1 Like

Hi Dmitry!
Awesome plugin, but i’m currently experiencing this behaviour on my env, Changing mobility to skylight fixes, but i lose the ambient occlusion on a lot of meshes. What is causing this?
immagine

It does not happen in usual circumstances (I often test SC on various environments from marketplace), so I don’t know. Could be anything.

i noticed that this problem started when enabling “generate distance field mesh” to allow distance field shadows to work.

Hi Dmitry!

Very promising and awesome plugin. Is there an option to place manually a lighting effect?

Thank you!

Yes, there is a built in blueprint function called “Spawn Lightning Strike”.

Hi Dmitry,
I’m recently using your plugin to build my flight simulator, when I using path tracing mode, it shows all black below. Could you give me some suggestions?

Hi! What is your engine version? I think turning off “Lower Hemisphere is Solid Color” fixes it, if it’s 5.0.