Closed IndieDev99 closed 1 month ago
@IndieDev99, is this using the Multiplayer Template project? (I see the path is "NewProject" and not Multiplayer Sample). The RoundRobinSpawner isn't really needed anymore now that the Multiplayer gem (built into the engine), contains a Simple Network Player Spawner. You could actually just delete this code (and remove the .cpp/.h from the Gem/Code/newproject_files.cmake) and just the Simple Spawner.
return AZStd::make_pair<Multiplayer::PrefabEntityId, AZ::Transform>(
O3DE/Projects/NewProject/Gem/Code/Source/Spawners/RoundRobinSpawner.cpp(45,13): note: You cannot bind an lvalue to an rvalue reference
C:\O3DE\23.10.0\Code\Framework\AzCore\AzCore/std/utils.h(291,20): note: see declaration of 'AZStd::make_pair'