As written in the title, I have variable TMap in a blueprint function library class which I created to keep data while calling functions of that blueprint function library.
It seems that even after closing the game in editor, map keeps data. After packaging, it does not keep data.
Is there any way to reset map when game is closed in editor? Thanks!
Thanks @and-rad
But do you happen to know how to use UGameInstance::OnStart() in a blueprint function library? I am searching ways, have not found yet.