****** NOTE: Not sure if bug or intended behavior ******
To set a (C++) Static Mesh Component to tick, PrimaryComponentTick.bCanEverTick
needs to be set to true
;
In the Unreal 4.12.5 engine this variable could be set to true (PrimaryComponentTick.bCanEverTick = true;
) in the C++ constructor of the Static Mesh Component class.
Now (4.17.1 engine), setting this variable in the constructor has NO effect whatsoever, i.e. the (C++) Static Mesh Component’s TickComponent()
function does not get called, hence it does NOT tick. Neither has it effect setting the variable in BeginPlay()
.
This only works now (for me) if PrimaryComponentTick.bCanEverTick
is set to true in OnRegister()
.