Unity-Technologies / multiplayer-community-contributions

Community contributions to Unity Multiplayer Networking products and services.
MIT License
429 stars 161 forks source link

fix(1.0.0-pre.3): Photon Transport connect event id assignment #118

Closed LukeStampfli closed 2 years ago

LukeStampfli commented 2 years ago

Connect event ids on the client now contain the hosts peer id instead of the clients own id. This results in the Photon Realtime transport behaving similar to the UNet and UnityTransport and allows it to work with #1368

Tested on Boss Room fix/ngo-pre.3 branch (#483194dd749e062fcedd58d3fac43caeb0d7587b) with 1 host + 2 clients on same machine able to connect to the lobby select a character and walk around in the game using Photon Realtime Transport