Game Instance problem

I have a GameInstance Class that inherits FTickableGameObject. In the tick function, i check a pointer if it is null. Then i use UE_LOG(…,… TEXT(“null”)) or UE_LOG(…,… TEXT(“not null”)) macro every 2 seconds.

I select My GameInstance Class. // Map & Modes->GameInstance Class. “null” and “not null” appear on the Output Log every 2 seconds.

After, When I set the GameInstance class as default GameInstance, “null” still appears on the Output Log as if My GameInstance Class still selected.

Is there any Engine Developer in here? I can’t work on my project because of similar problems.

https://answers.unrealengine.com/que…8389/view.html
https://forums.unrealengine.com/development-discussion/c-gameplay-programming/1589884-the-object-is-both-null-and-not-null