You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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!
The text was updated successfully, but these errors were encountered:
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":
Hi devs,
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.
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!
The text was updated successfully, but these errors were encountered: