Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback for docs/tutorials/get-started-with-ngo.md #1389

Open
YurySerebryakovUnity3D opened this issue Dec 3, 2024 · 1 comment
Open

Feedback for docs/tutorials/get-started-with-ngo.md #1389

YurySerebryakovUnity3D opened this issue Dec 3, 2024 · 1 comment

Comments

@YurySerebryakovUnity3D
Copy link

Hi devs,

  1. The first code sample on the page doesn't work because the HelloWorldManager class's static methods, such as StartButtons and SubmitNewPosition, try to access the m_NetworkManager instance field within the same class. The attached screenshot illustrates the issue.

Image

  1. The section titled "The HelloManager.cs script" references the HelloWorldPlayer script, which isn't created until a later section, "Adding Netcode Script to Your Player Prefab." However, before this script is created, the "Test the RPCs" section guides the reader to build the application even though the code references a class that doesn't yet exist.

  2. Additionally, the customer mentions that there's no need to create multiple builds, as advised in the "Test the RPCs" section, because you can start multiple clients from the same build.

Thank you in advance!

@mngmr
Copy link

mngmr commented Dec 11, 2024

Hi @YurySerebryakovUnity3D, you are totally right, the script is broken, very frustrating.
When I was about to give up, I found out another version of this tutorial where everything works, they are calling "golden path":

https://docs-multiplayer.unity3d.com/netcode/current/tutorials/goldenpath_series/gp_intro/

Check out the same HelloWorldManager:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants