Skip to content

fix: Distributed authority quickstart #1458

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

Merged
merged 2 commits into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/learn/distributed-authority-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Before you begin, you need the following:
3. Under the Network Settings, set the **Network Topology** property to **Distributed Authority**.
![set network topology](/img/learn/distributed-authority-quick-start/network-topology.png)

4. Under **Network Transport**, select **UnityTransport** from the list of options to add.
![use unity transport](/img/learn/distributed-authority-quick-start/unity-transport.png)
4. Under **Network Transport**, select **DistributedAuthorityTransport** from the list of options to add.
![use unity transport](/img/learn/distributed-authority-quick-start/transport.png)

5. Save any changes to your objects and scene.

Expand Down
4 changes: 4 additions & 0 deletions docs/learn/distributed-authority-webgl.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ You also need the following packages and minimum versions for a WebGL distribute

Follow the instructions on the [distributed authority general quickstart](distributed-authority-quick-start.md) page.

## Configure the transport to use websockets

Enable the "Use Web Sockets" checkbox on the **DistributedAuthorityTransport** component that was added to the *NetworkManager* object. ![enable web sockets](/img/learn/distributed-authority-quick-start/use-websockets.png)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Enable the "Use Web Sockets" checkbox on the **DistributedAuthorityTransport** component that was added to the *NetworkManager* object. ![enable web sockets](/img/learn/distributed-authority-quick-start/use-websockets.png)
Enable the **Use Web Sockets** checkbox on the **DistributedAuthorityTransport** component that was added to the *NetworkManager* object. ![enable web sockets](/img/learn/distributed-authority-quick-start/use-websockets.png)

UI elements/names should be in bold formatting

Copy link
Contributor Author

@EmandM EmandM Apr 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I copied the formatting out of other places in the DA quickstart so I've gone through and updated all the formatting in these two files so I don't confuse myself in the future 😄

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistency, in this economy?! (thanks tho; I've been meaning to do a pass for it throughout the whole docs, but it's just never been a high enough priority)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotta save future Emma


## Build and run with WebGL

1. Navigate to __File__ > __Build Profiles__ to open the __Build Profiles__ window. Select WebGL as your target platform.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.