This is not first time i get this behavior when an object created in the constructor get nullified for no reason, bu its first time whet it happens to a standard component in a standard actor.
Little more info:
-
I’ve been using git version of ue5 and switched back to standard launcher version. But it was working.
-
I’ve added couple of mine plugins into project that have
CharacterMovement
child classes but they are not used. -
For test i have
SetMovementMode
inBeginPlay
ofACharacter
and “GetComponentsByClass
” returns movement component but ‘CharacterMovement
’ variable of ‘ACharacter
’ is null.
Any ideas what is going on?
I’ve cleaned the project several times.
Previous encounter fixed by itself at some point while i was banging my had against the wall.