I used savegame class to save array of AActor. I got success to save few no. of AActor reference but when i add more AActor Reference then i got error: LogUobjectGlobal:fail to find object’s object none:none
youbtube: Problem In saving Array Of Actor UE C++ - YouTube
some one help me to fix this problem ,please.
I got an another problem with this project.When i Eat capsule without making time gaping,then Actor Reference got save.But if i Wait for a few minute then i got error: LogGlobalObject:Fail to find Object’s object.
you can see this: Problem In TMap - YouTube
Explanation of project:
I am recently working with project that track a destroyed actor. Next time, it will track destroy actor and destroyed it. I used SaveGame class to save (ActorRef and bool), Isbooltrue then destroyed it.
I also used LevelScirptActor C++ to save and load ActorRef .
??Does TMap reset after making time gap. I don’t understand what is happening.
help me please. I have been stock on this topic since 14 days.
Code Screenshot here:
Finally Problem is solved. I got error due to use of AActor*. AActor* are garbage collected. Instead of AActor* i use FString for saving the name of AActor (AActor* ->GetName()).