Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

'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.


alt text

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!

Product Version: Not Selected
callstack.png (20.6 kB)
more ▼

asked Jul 18 '14 at 03:14 PM in Packaging & Deployment

avatar image

1 1 2 3

avatar image Armads Aug 07 '14 at 04:06 PM

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): call stack + output

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Apr 08 '15 at 05:22 PM

avatar image rwesterlund Jan 20 '16 at 03:29 PM

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

avatar image rwesterlund Jan 21 '16 at 12:22 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question