'this' pointer is misaligned crash loading packaged game

Hello.
We have just started to package our game for the first time, and we are getting a fatal debug assert during startup.

This is the output window:

[2014.07.18-15.03.45:296][  0]LogUObjectBase:Error: 'this' pointer is misaligned.
C:\Users\smithbran\Perforce\Unreal4\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp(233): Fatal error:
Invalid object in GC: 0x000044ac00000141, ReferencingObject: BPU_GP_HUD_C /Game/LessonMode/Blueprints/HUDs/BPU_GP_HUD.Default__BPU_GP_HUD_C, TokenIndex: 30
LessonMode-Win64-DebugGame.exe has triggered a breakpoint.

Callstack:

10590-callstack.png

The assert fires later, but the code that is causing the assert to bubble up is in UObjectBase::IsValidLowLevelFast. We’ve checked the blueprint in question, and we can’t find any errors in it. It does it in both DebugGame and DevGame with or without using .pak files.

We are using Unreal 4.1 and VS2013

Any help would be appreciated!

Just to bump this, as I’ve been having this come up as well but in my Character class blueprint.

[2014.08.07-14.28.56:379][  0]LogUObjectBase:Error: 'this' pointer is misaligned.
C:\Users\turnerr\Perforce\turnerr_cals_dev\Unreal4\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp(233): Fatal error:
Invalid object in GC: 0x00ffffff00ffffff, ReferencingObject: BPA_FPSCharacter_C /Game/_Common/Blueprints/BPA_FPSCharacter.Default__BPA_FPSCharacter_C, TokenIndex: 34

My call stack is as follows (the image posted previously seems to be broken):


Is there anyone else who has been getting this or errors like it? Any clues as to what it means or what causes it?

Hi emthreeve,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.

We are experiencing this issue with our AI blueprints for characters running behavior trees. Unreal Engine version is 4.10.0.

The issue has likely been fixed now, it was a USTRUCT with overridden constructors that no longer got all elements inialized so some UPROPERTY values were garbage.