Hi,guys.i need some help.
My Actor Class have a UObject Member variables,This Member variables have two TArray Member variables.But when debugging, one of the displays is invalid,There are even times when both are ineffective.
Here’s a pseudo-code to express the structure:
Class ATerrainGenerator {
UJCVoronoiGenerator* JCVoronoiGenerator {
// "FJCVoronoiCell,FJCVoronoiEdge " they are Struct.
TArray<FJCVoronoiCell> Cells;
TArray<FJCVoronoiEdge> Edges;
}
}
this’s my Dugbugging picture:
I initialized JCVoronoiGenerator in the constructor:
Then use it in BeginPlay():