You need to mark your pointer variables in the .h with UPROPERY. Otherwise garbage collector just destroys them.
UPROPERY