I think you need an initialisation list.
UMyID(const FVector& InID, TArray InNeighbours) : ID (InID), Neighbours (InNeighbours){}
I think you need an initialisation list.
UMyID(const FVector& InID, TArray InNeighbours) : ID (InID), Neighbours (InNeighbours){}