Adding the Precondition to the SmartObject caused an assertion when it was part of a persistent collection. The precondition needs to be able to pass its Activate method to cause the assert.
This behavior is not observed when the SmartObject is registered at runtime.
Expected Result: The editor stops PIE and returns to normal editor workflow.
Actual Result: Editor crashes.
UnrealEditor_WorldConditions!FWorldConditionContext::Deactivate() [E:\UE_5.3\Engine\Plugins\Runtime\WorldConditions\Source\WorldConditions\Private\WorldConditionContext.cpp:127]
UnrealEditor_WorldConditions!FWorldConditionQueryState::~FWorldConditionQueryState() [E:\UE_5.3\Engine\Plugins\Runtime\WorldConditions\Source\WorldConditions\Private\WorldConditionQuery.cpp:74]
UnrealEditor_SmartObjectsModule!TSet<TTuple<FSmartObjectHandle,FSmartObjectRuntime>,TDefaultMapHashableKeyFuncs<FSmartObjectHandle,FSmartObjectRuntime,0>,FDefaultSetAllocator>::RemoveByIndex() [E:\UE_5.3\Engine\Source\Runtime\Core\Public\Containers\Set.h:878]
UnrealEditor_SmartObjectsModule!USmartObjectSubsystem::UnregisterCollection() [E:\UE_5.3\Engine\Plugins\Runtime\SmartObjects\Source\SmartObjectsModule\Private\SmartObjectSubsystem.cpp:2121]
UnrealEditor_SmartObjectsModule!ASmartObjectPersistentCollection::UnregisterWithSubsystem() [E:\UE_5.3\Engine\Plugins\Runtime\SmartObjects\Source\SmartObjectsModule\Private\SmartObjectPersistentCollection.cpp:603]
UnrealEditor_SmartObjectsModule!ASmartObjectPersistentCollection::EndPlay() [E:\UE_5.3\Engine\Plugins\Runtime\SmartObjects\Source\SmartObjectsModule\Private\SmartObjectPersistentCollection.cpp:518]
UnrealEditor_Engine!AActor::RouteEndPlay() [E:\UE_5.3\Engine\Source\Runtime\Engine\Private\Actor.cpp:2716]
UnrealEditor_UnrealEd!UEditorEngine::TeardownPlaySession() [E:\UE_5.3\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:856]
UnrealEditor_UnrealEd!UEditorEngine::EndPlayMap() [E:\UE_5.3\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:343]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [E:\UE_5.3\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:2244]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [E:\UE_5.3\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:531]
UnrealEditor!FEngineLoop::Tick() [E:\UE_5.3\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5825]
UnrealEditor!GuardedMain() [E:\UE_5.3\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
UnrealEditor!GuardedMainWrapper() [E:\UE_5.3\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [E:\UE_5.3\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [E:\UE_5.3\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
What is the difference between Camera and CineCamera?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
UMG RichText not appear image when packaged
How does TArray loop correctly remove elements in blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-196645 in the post.
1 |
Component | UE - AI - SmartObject |
---|---|
Affects Versions | 5.3 |
Target Fix | 5.4 |
Created | Sep 26, 2023 |
---|---|
Resolved | Oct 4, 2023 |
Updated | Oct 4, 2023 |