Sky Creator

Hey @Dmitry_Karpukhin, I’m testing 1.21 and have an issue with Sun Position Type: I created a custom child BP from SkyCreator, to easily set some defaults I use in all levels. When I go and change the Sun Position Type in that BP, the editor crashes:

[2022.03.08-10.23.43:105][ 5]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: === Critical error: ===
[2022.03.08-10.24.02:536][ 5]LogWindows: Error:
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: Assertion failed: World != nullptr [File:D:/build/++Portal/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/SkyCreatorPlugin/Source/SkyCreatorPlugin/Private/SkyCreatorActor.cpp] [Line: 540]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error:
[2022.03.08-10.24.02:536][ 5]LogWindows: Error:
[2022.03.08-10.24.02:536][ 5]LogWindows: Error:
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ffa99c64f69 KERNELBASE.dll!UnknownFunction
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff98249d066 UE4Editor-Core.dll!ReportAssert() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1616]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9824a07a8 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9821ae8cd UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff982145575 UE4Editor-Core.dll!AssertFailedImplV() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff982147620 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9490a8ffd UE4Editor-SkyCreatorPlugin.dll!ASkyCreator::CheckOcclusion() [D:\build++Portal\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\SkyCreatorPlugin\Source\SkyCreatorPlugin\Private\SkyCreatorActor.cpp:540]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9490b012d UE4Editor-SkyCreatorPlugin.dll!ASkyCreator::SetComponentsSettings() [D:\build++Portal\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\SkyCreatorPlugin\Source\SkyCreatorPlugin\Private\SkyCreatorActor.cpp:716]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9490b3be1 UE4Editor-SkyCreatorPlugin.dll!ASkyCreator::UpdateSettings() [D:\build++Portal\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\SkyCreatorPlugin\Source\SkyCreatorPlugin\Private\SkyCreatorActor.cpp:1689]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97e7c4f90 UE4Editor-CoreUObject.dll!UObject::PostEditChangeChainProperty() [D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:454]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff976876d54 UE4Editor-PropertyEditor.dll!FPropertyNode::NotifyPostChange() [D:\Build++UE4\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyNode.cpp:2342]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97685f05a UE4Editor-PropertyEditor.dll!FPropertyValueImpl::ImportText() [D:\Build++UE4\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:522]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97685f5a8 UE4Editor-PropertyEditor.dll!FPropertyValueImpl::ImportText() [D:\Build++UE4\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:291]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9768ba2f8 UE4Editor-PropertyEditor.dll!FPropertyValueImpl::SetValueAsString() [D:\Build++UE4\Sync\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:818]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9769b78b7 UE4Editor-PropertyEditor.dll!SPropertyEditorCombo::SendToObjects() [D:\Build++UE4\Sync\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyEditorCombo.cpp:255]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97698ec0e UE4Editor-PropertyEditor.dll!SPropertyEditorCombo::OnComboSelectionChanged() [D:\Build++UE4\Sync\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyEditorCombo.cpp:195]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff976960037 UE4Editor-PropertyEditor.dll!TBaseSPMethodDelegateInstance<0,SPropertyEditorCombo,0,void __cdecl(TSharedPtr<FString,0>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9769a1107 UE4Editor-PropertyEditor.dll!SPropertyComboBox::OnSelectionChangedInternal() [D:\Build++UE4\Sync\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyComboBox.cpp:123]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97695f2d7 UE4Editor-PropertyEditor.dll!TBaseSPMethodDelegateInstance<0,SPropertyComboBox,0,void __cdecl(TSharedPtr<FString,0>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9762fd1e4 UE4Editor-EditorWidgets.dll!TDelegate<void __cdecl(TSharedPtr<FString,0>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:599]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9763a8e53 UE4Editor-EditorWidgets.dll!SSearchableComboBox::OnSelectionChanged_Internal() [D:\Build++UE4\Sync\Engine\Source\Editor\EditorWidgets\Private\SSearchableComboBox.cpp:211]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff976369b57 UE4Editor-EditorWidgets.dll!TBaseSPMethodDelegateInstance<0,SSearchableComboBox,0,void __cdecl(TSharedPtr<FString,0>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9762fd1e4 UE4Editor-EditorWidgets.dll!TDelegate<void __cdecl(TSharedPtr<FString,0>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:599]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9763b4880 UE4Editor-EditorWidgets.dll!SListView<TSharedPtr<FString,0> >::Private_SignalSelectionChanged() [D:\Build++UE4\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\SListView.h:947]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff9763a3abd UE4Editor-EditorWidgets.dll!STableRow<TSharedPtr<FString,0> >::OnMouseButtonUp() [D:\Build++UE4\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\STableRow.h:617]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97d8446be UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_cc5aea9e7377b04ce85c30c65ec3889b> >() [D:\Build++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:378]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97d8c7f14 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [D:\Build++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4815]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97d8b0337 UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [D:\Build++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5356]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97d8a3632 UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [D:\Build++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5321]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97dd9bcb5 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\Build++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2178]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97dd89197 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\Build++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2642]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97dd9e389 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\Build++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1046]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97dd84310 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\Build++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:878]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ffa9be3e858 USER32.dll!UnknownFunction
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ffa9be3e299 USER32.dll!UnknownFunction
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff97dd9f914 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Build++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff64d5f8848 UE4Editor.exe!FEngineLoop::Tick() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4748]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff64d61117c UE4Editor.exe!GuardedMain() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff64d61125a UE4Editor.exe!GuardedMainWrapper() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff64d6252bd UE4Editor.exe!WinMain() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ff64d627fea UE4Editor.exe!__scrt_common_main_seh() [d:\agent_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ffa9b6d7034 KERNEL32.DLL!UnknownFunction
[2022.03.08-10.24.02:536][ 5]LogWindows: Error: [Callstack] 0x00007ffa9c382651 ntdll.dll!UnknownFunction

The setting works fine if I change it on the instanced object in the level.