Hi, I found two small issues in the C++ Multiplayer tutorial:
In the code, you’re referring to AActor::Role., which used to be public up until 4.24. However, in 4.25 it has become private, so this should be changed to GetLocalRole(). (This is mentioned in the Source code for 4.24, but not in 4.25. So, when trying to run the tutorial with 4.25, the user get’s an error with no hint what to do about it.)
In paragraph 5, it says: “In ThirdPersonMPProjectile.h, add the <…>”
This needs to be"In ThirdPersonMPProjectile.cpp, add the <…>". Also, the headline in the code-box below refers to the header file instead of the cpp file.
these pictures are outdated too, in 4.25 there are no Dedicated server option, only Nr of Players and Net Mode, which is a bit confusing for beginners like me to follow and set it up correctly for testing, because all Net modes provide different results. Thanks!
Thanks everyone for chiming in and submitting all this great feedback! I’ve put all of this into a ticket and passed it along to the rest of the Docs team. I’ll update this thread once I have an update on the ticket.