I wonder why it gets null pointer

Thank you so much for your help.
I found out the cause. After i write UPROPERTY() on the raw pointer, there’s no more nullptr error.
I think the pointer is garbage-collected or destroyed by something like it.

1 Like