Hi!
I’d like to ask for help with a recent problem of mine. Keep in mind that iam still a noob and only using blueprints so far.
Recently i started to get a crash with the following message when playtesting:
Assertion failed: IsValid() [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\WeakInterfacePtr.h] [Line: 133]
Probably its connected to my AI character or to my AI Controller or both. But it might be something totally different, Iam not sure, but it seems like it happens when I have AI in my test level. Sometimes it happens after 2-3 seconds after pressing play other time it didn’t even happen during the whole playtest.
I had a simple Collision sphere component that activated the AI with Begin Overlap, which i wanted to change to AI Perception with Detection by Affiliation (by Tags as its the BP only way currently). I created an AI Controller with almost only AIPerception in it. My AI was blueprint only before without my own controller, but worked well* so far, with all the logic in it.
Crash log:
UECC-Windows-971B094B419B108183C167AD48319A81_0000.rar (188.2 KB)
For now, I’d just like to solve the crashing and later I’ll improve the things further. I know there’s a lot to do.
My AI controller:
Soldier AI Controller posted by anonymous | blueprintUE | PasteBin For Unreal Engine
My BP Solider starts like this (and Begin play sets many variables of mine):
BP_Soldier posted by anonymous | blueprintUE | PasteBin For Unreal Engine
I hope you can enlighten me.
Regards,
Patrik
