CharacterMovementComponent has inconsistent owners in the packaged shipping build

Grogger
Fri, 17 Jun 2016 19:23:47 +0000
Character & Animation

We’re experiencing some issues with our character pawns not moving correctly in the shipping build as in the editor build in 4.12.

After some debugging, it seems that the culprit lies within the GetCharacterOwner() function of the CharacterMovementComponent:

In the shipping build, GetCharacterOwner() and GetPawnOwner() of the CharacterMovementComponent are returning the default class object of the pawn we’re expecting, but GetOwner() is returning the proper owning actor.

In the development editor build, each of these functions return the proper instance of the owning actor.

From our testing, this issue is not present in the 4.10 shipping build.

EDIT:
This report and this report seem very similar

5 posts - 1 participant