x

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"

Garbage Collection - 'this' pointer is misaligned.

I've been experiencing a problem when the GC does its thing. The game will crash and I'll get an error that says

[2014.11.07-02.11.07:246][264]LogUObjectBase:Error: 'this' pointer is misaligned.

Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.5\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp] [Line: 273]

Invalid object in GC: 0xcccccccccccccccc, ReferencingObject: BP_MyGame_C /Game/Maps/UEDPIE_0_Example_Map.Example_Map:PersistentLevel.BP_MyGame_C_1, ReferencingProperty: ObjectProperty /Script/TurnBased.CastedAbilityStruct:SourceCharacter

I started experimenting with forcing garbage collection to try to determine where in my game's execution things are going wrong. If I force garbage collection as the first order of business in the level blueprint, I still get the same problem.

The Object property that is referenced in the error message is an object variable within a struct that I created. As far as I can tell, all variable instances of that struct type are UPROPERTYs. I do have a few other struct types that have this struct as a variable within their definition.

I don't know what could be causing this problem and I'm hoping to get some advice on what to try to figure this out.

Product Version: Not Selected
Tags:
more ▼

asked Nov 07 '14 at 02:22 AM in C++ Programming

avatar image

evillego6
191 20 20 25

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

0 answers: sort voted first
Be the first one to answer this question
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