Players can now host and join over the internet without port-forwarding via Unity Gaming Services Relay + Lobby, exposed through the unified Multiplayer Services SDK (Sessions API). - OnlineSessionManager: anonymous auth, CreateSessionAsync (public, relay-backed), QuerySessionsAsync server browser, JoinSessionByIdAsync, and session leave wired into the existing net-stop teardown. - Per-install auth profile derived from the project path (mirror_<sha1(dataPath)>) so junction-mirror clones get distinct UGS player ids, avoiding the same-machine 409 LobbyConflict on join. - Install com.unity.services.multiplayer 2.2.4 (pulls Relay/Lobby/ Authentication/Core) and attach OnlineSessionManager to the NetworkManager in Main. Loopback dev flow (NetworkBootstrap H/C/J/K) is left untouched; the online path is additive. MatchManager and gameplay are unchanged since Sessions starts the host/client through NGO as before. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
618 B
Plaintext
20 lines
618 B
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: b58a3bc647e70774b8c7225eb3b51e7e, type: 3}
|
|
m_Name: UnityPlayerAccountSettings
|
|
m_EditorClassIdentifier: Unity.Services.Authentication.PlayerAccounts::Unity.Services.Authentication.PlayerAccounts.UnityPlayerAccountSettings
|
|
clientId:
|
|
scopeMask: 7
|
|
useCustomDeepLinkUri: 0
|
|
customScheme:
|
|
customHost:
|