Well why don’t you create a blueprint in the editor with an array of actor subclasses (ie TArray<TSubclassOf<AActor>>), and then your unique id is the index of the actor subclass in that array. (You can also build a reverse lookup table TMap<TSubclassOf<AActor>, uint32> from the array while bringing the world up for play if you need the reverse lookup to be fast too.)
1 Like