When a sublevel gets unloaded that has an actor with an AbilitySystemComponent with an active GameplayEffect with Duration, a crash occurs when the duration expires. This is due to an ASC timer delegate executing for an ASC that has been removed from world.
Fast repro:
Manual repro:
[Inlined] IsObjectHandleNull(FObjectHandlePrivate) ObjectHandle.h:99
[Inlined] FObjectPtr::operator bool() ObjectPtr.h:180
[Inlined] TObjectPtr<UGameInstance>::operator bool() ObjectPtr.h:627
UWorld::GetTimerManager() World.cpp:6879
FActiveGameplayEffectsContainer::CheckDuration(FActiveGameplayEffectHandle) GameplayEffect.cpp:4612
[Inlined] Invoke(void (UAbilitySystemComponent::*)(FActiveGameplayEffectHandle),UAbilitySystemComponent *&,const FActiveGameplayEffectHandle &) Invoke.h:66
[Inlined] UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int,0>,FActiveGameplayEffectHandle>::ApplyAfter(void (UAbilitySystemComponent::*&)(FActiveGameplayEffectHandle),UAbilitySystemComponent *&) Tuple.h:311
TBaseUObjectMethodDelegateInstance<0,UAbilitySystemComponent,void __cdecl(void),FNotThreadSafeNotCheckedDelegateUserPolicy,FActiveGameplayEffectHandle>::Execute() DelegateInstancesImpl.h:649
[Inlined] TDelegate<void __cdecl(void),FNotThreadSafeNotCheckedDelegateUserPolicy>::Execute() DelegateSignatureImpl.inl:549
FTimerUnifiedDelegate::Execute() TimerManager.h:50
FTimerManager::Tick(float) TimerManager.cpp:930
UWorld::Tick(ELevelTick,float) LevelTick.cpp:1563
UEditorEngine::Tick(float,bool) EditorEngine.cpp:1934
UUnrealEdEngine::Tick(float,bool) UnrealEdEngine.cpp:538
FEngineLoop::Tick() LaunchEngineLoop.cpp:5836
[Inlined] EngineTick() Launch.cpp:61
GuardedMain(const wchar_t *) Launch.cpp:190
LaunchWindowsStartup(HINSTANCE__ *,HINSTANCE__ *,char *,int,const wchar_t *) LaunchWindows.cpp:247
WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int) LaunchWindows.cpp:298
[Inlined] invoke_main() 0x00007ff7fd31c6ea
__scrt_common_main_seh() 0x00007ff7fd31c6c9
<unknown> 0x00007fff56187614
<unknown> 0x00007fff580c26b1
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Hey, why do i get this when i snap two similar meshes together?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-196930 in the post.
0 |
Target Fix | 5.4 |
---|
Fix Commit | 29271936 |
---|---|
Main Commit | 29271947 |
Created | Oct 2, 2023 |
---|---|
Resolved | Oct 31, 2023 |
Updated | Dec 1, 2023 |