Upgrade 1.5 -> 1.6

User → PlayerAccount

The Coherence.Cloud.User class has been renamed to Coherence.Cloud.PlayerAccount.

The Guid property has been renamed to UniqueId to better match naming used elsewhere.

The static None property has been removed; null is now used to represent the lack of a PlayerAccount instead.

UserId → Id

The UserId property has been renamed to Id in the following types:

  • PlayerAccount (formerly User).

  • LobbyPlayer (formerly Player).

  • LoginResult

  • LoginResponse

Player → LobbyPlayer

The Coherence.Cloud.Player struct has been renamed to Coherence.Cloud.LobbyPlayer, to avoid confusion between it and PlayerAccount, and to clarify the fact that the data relates specifically to players that are in a lobby.

PlayerPayload → MatchedPlayer

The Coherence.Runtime.PlayerPayload struct has been renamed to Coherence.Cloud.MatchedPlayer, to avoid confusion between it and PlayerAccount, and to clarify the fact that the data relates specifically to players that have been matched via matchmaking.

Multi-Room Simulators — Deprecated

Starting on 1.6.0, Multi-Room Simulators is deprecated and will be removed from the SDK. If your project was already using this feature, you'll still be able to work with it. But you should consider migrating your game to not use it.

Note that CoherenceScene and CoherenceSceneLoader — the core components that allows Multi-Room Simulators — are not deprecated. You can read more about them on Multiple Connections within a Game Instance.

Reflection Mode — Removed

Reflection Mode was a fallback mechanism that worked without requiring to bake constantly. This mechanism had flaws, limitations, and hasn't been proven as useful in its current implementation. This update completely eliminates it.

If you were using any of the APIs related to Reflection Mode (for example, CoherenceSync.UsingReflection), you should migrate your scripts now, knowing that we no longer support this bake mode anymore.

Last updated

Was this helpful?