Relay and Lobby packages are deprecated and are now both replaced by the package “Multiplayer services” that includes both of them.
The old logic I have in games gives errors like:
GameManager.cs(41,51): error CS1729: ‘RelayServerData’ does not contain a constructor that takes 2 arguments
or
LobbyManager.cs(246,58): error CS0234: The type or namespace name ‘Instance’ does not exist in the namespace ‘Lobbies’ (are you missing an assembly reference?)
How to solve these kind of errors once we switch from old relay and lobby to the new UGS system?