Hi,
I’ve just started moving some blueprint code over to C++.
I have a Character base class (CharBase) that derives from ACharacter Class. I’m getting this pointer error on BeginPlay() from the CharBase class:
LogUObjectBase: Error: ‘this’ pointer is invalid
(I believe it’s from the CharBase class - or maybe a blueprint child of it as it shows up as many times as there are characters on the map)
In my CharBase BeginPlay() code I’ve noticed it seems to get triggered when Super::BeginPlay() is called.
UE_LOG(LogTemp, Error, TEXT("CHECK ONE"));
Super::BeginPlay();
UE_LOG(LogTemp, Error, TEXT("CHECK TWO"));
Here is the output log…
But I don’t really understand this as my understanding is Super::BeginPlay() should just be calling the parent which in this case is just the standard Unreal ACharacter class. In the child character blueprint, I’m not really doing much in BeginPlay, but I am calling the parent first.
Does anyone have any ideas of where else I should look to identify this invalid pointer issue? Is there anyway to get more information of what it’s even trying to point to?
Huge thanks!