So, I have a bunch data for AStar algorithm. This data will be filled in the editor.
UPROPERTY(BlueprintReadWrite, Category = "AStar|Data")
TArray AStarNodes;
void AAStarMapData::GatherMapData(){
Modify();
GatherMapData(AStarNodes);
}
This code is working fine, but when I reopen the level, the data is gone! When I add VisibleAnywhere / EditAnywhere / VisibleSomething
it will works fine, but the down side is, the editor will slow AF.
So, how to fix this situation without adding Edit/Visible
UPROPERTY specifier?