Cast UObject * to TMap<...>

I’ve solved it. The compiler wanted the map objects to be pointers and also a reinterpret_cast:

	TMap<FString*, FVector*>& AttackPositions  = reinterpret_cast<TMap<FString*, FVector*>&>(Object);

Take a look at these questions:

note-see-reference-to-class-template-instantiation.

how-to-cast-tarray-to-another-type