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

fix: Distributed authority quickstart #1458

merged 2 commits into from
Apr 8, 2025

Conversation

EmandM
Copy link
Contributor

@EmandM EmandM commented Apr 3, 2025

Select the type of change:

  • Small Changes - Typos, formatting, slight revisions
  • New Content - New features, sections, pages, tutorials
  • Site and Tools - Updates, maintenance, and new packages for the site and Docusaurus

Purpose of the Pull Request:

  • Updated the DA quickstart to use the specific DistributedAuthorityTransport.
  • Updated the DA WebGL quickstart to specify that the "Use Websockets" option should be checked.

Note:
The sessions SDK has a flow where if the DistributedAuthorityTransport does not exist, then it will create the transport, however it will not copy over any configured variables for any other transport that may exist. This means if you follow the current instructions to add a UnityTransport and have any custom configuration then the user will face issues.

Issue Number:
MTTB-1113
MTT-11876

@@ -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

@EmandM EmandM merged commit 5e13b44 into develop Apr 8, 2025
2 checks passed
@EmandM EmandM deleted the fix/da-quickstart branch April 8, 2025 15:13
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

Successfully merging this pull request may close these issues.

2 participants