MENU

Fun & Interesting

Unity Multiplayer Just Got a Huge Upgrade – Distributed Authority

git-amend 6,888 lượt xem 3 months ago
Video Not Working? Fix It Now

Multiplayer in Unity's new Distributed Authority model allows game clients to share responsibility for owning and managing objects, eliminating the need for a central game Server or Host. This approach enhances scalability and reduces costs, but also requires new strategies for handling physics, authority, and ownership. In the video, we explore the programming setup for a Distributed Authority game, how ownership is distributed and transferred, methods for measuring latency between players, and best practices for synchronizing player actions in a decentralized multiplayer environment.

Last Week's Video: https://youtu.be/dxwEeYtf0O0

Documentation: https://docs-multiplayer.unity3d.com/netcode/current/terms-concepts/distributed-authority

Distributed Authority Discussions: https://discussions.unity.com/u/NoelStephens_Unity/activity

Get Started with UGS: https://docs.unity.com/ugs/manual/overview/manual/getting-started

UGS Free Tier and Pricing: https://unity.com/products/gaming-services/pricing

BiteSize Samples: https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize

E-Book (Dec 2024) Unity Multiplayer: https://unity.com/resources/ultimate-guide-advanced-multiplayer-networking

Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre

🔔 Subscribe for more Unity Tutorials https://youtube.com/@git-amend

Discord: https://discord.gg/FDRZGQBBUC

#unity3d #gamedev #indiedev

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 Distributed Authority
8:55 Transferring Ownership
11:04 Players Synchronization In Distributive Authority

More Useful Code:
https://github.com/adammyhre?tab=repositories
Unity Utility Library: https://github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: https://gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642

Assets Shown In This Video (Affiliate Links)
Wingman - https://assetstore.unity.com/packages/tools/utilities/wingman-your-inspector-s-best-friend-303181?aid=1101lw3sv
Logwin - https://assetstore.unity.com/packages/tools/utilities/logwin-log-debug-values-tracker-149558?aid=1101lw3sv
Odin - https://assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1101lw3sv
Odin Validator - https://assetstore.unity.com/packages/tools/utilities/odin-validator-227861?aid=1101lw3sv
Hot Reload: https://assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1101lw3sv
Hierarchy Icons: https://assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: https://assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv
Better Mesh Filter: https://assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv
Any Object Finder: https://assetstore.unity.com/packages/tools/utilities/any-object-finder-286455?aid=1101lw3sv
Clipper PRO: https://assetstore.unity.com/packages/tools/utilities/clipper-pro-the-ultimate-clipboard-277112?aid=1101lw3sv

*Follow me!*
https://linktr.ee/gitamend

Comment