Unity version: 6000.5.0b1
Fish-Networking version: 4.7.1
Description
Unity 6.5 changes Scene.handle from an int to a SceneHandle struct. As a result, parts of the code expecting Scene.handle to be an int don't compile in 6.5. Similarly, GetInstanceId() is deprecated and issues a warning to use GetEntityId() starting in 6.5 - this one doesn't prevent successful builds, but it is noisy in the console. Fixing this is a fairly straightforward task, if a bit tedious, just replacing int with SceneHandle as necessary, but I'm not sure how backwards-compatible that change would be to older versions of Unity.
Replication
- Create a new project in Unity 6.5
- Add the Fish-Networking package to the project
Expected Behavior
Package adds and builds successfully.
Unity version: 6000.5.0b1
Fish-Networking version: 4.7.1
Description
Unity 6.5 changes
Scene.handlefrom anintto aSceneHandlestruct. As a result, parts of the code expectingScene.handleto be anintdon't compile in 6.5. Similarly,GetInstanceId()is deprecated and issues a warning to useGetEntityId()starting in 6.5 - this one doesn't prevent successful builds, but it is noisy in the console. Fixing this is a fairly straightforward task, if a bit tedious, just replacingintwithSceneHandleas necessary, but I'm not sure how backwards-compatible that change would be to older versions of Unity.Replication
Expected Behavior
Package adds and builds successfully.