I’m trying to pass a TMap object as a function argument
FVector calculateVeloctiy(TArray<AActor*> inputArray, float deltaTime, TMap<int, TArray<int>> &inputDict);
inputArray is a list of all relevant objects.
inputDict has key-value pairs- basically the name of this object as keys, and values are names of objects that affect this’s velocity.
I can populate inputDict just fine elsewhere in my code, but when I try to add the TMap<int, TArray<int>> &inputDict part to this function call and compile I get an error: Error Nested containers are not supported.
Is there any way to pass a TMap that contains a TArray as the value?