So i updated my Unity Project from 2022.3.17f1 to Unity 6000.0.5f1 to be able to use Multiplayer Play Mode.
Multiplayer Play Mode works fine but everytime i try to connect as a client i get this exception:
Exception: Scene Hash 567478029 does not exist in the HashToBuildIndex table! Verify that all scenes requiring server to client synchronization are in the scenes in build list.
Unity.Netcode.NetworkSceneManager.ScenePathFromHash (System.UInt32 sceneHash) (at ./Library/PackageCache/com.unity.netcode.gameobjects/Runtime/SceneManagement/NetworkSceneManager.cs:712)
when i host from the Multiplayer Play Mode editor and try to join with the main editor i get this exception:
Exception: Scene ‘Assets/_Multiplayer/Scenes/MultiplayerDemo.unity’ couldn’t be loaded because it has not been added to the build settings scenes in build list.
Unity.Netcode.NetworkSceneManager.SceneHashFromNameOrPath (System.String sceneNameOrPath) (at ./Library/PackageCache/com.unity.netcode.gameobjects/Runtime/SceneManagement/NetworkSceneManager.cs:736)
my problem is that i added the scene to the Scene List in Build Profile.
When i disable “Enable Scene Management” in the NetworkManager it works fine.
This project is the only one that has this error.
I created a new project and it works fine with Multiplayer Play Mode.
What i tried to fix this:
- Removing and reinstalling the Netcode for GameObjects package.
- Deleting EditorBuildSettings.asset so unity creates a new one
- Creating a new Build Profile with only the multiplayer scene in it
It has something to do with Multiplayer Play Mode because when i build the game it also works fine with “Enable Scene Management” enabled.
Try deleting the Library/VP folder to clear out the cached virtual players in case they aren’t correctly synchronized.
Note that 6000.0.8f1 is the current version, and you may want to check for MPPM version updates as well.
I’m also getting the same error with 6000.0.11f1. Deleting the VP folder doesn’t help. I think it maybe has something to do with having multiple (unloaded) scenes in the hierarchy.
Hei! I’m also getting the same error. Started happening same day as install, on unity 6000.0.10f1 + MPPM 1.2.1
It often goes away after I restart play mode, so seems a bit sporadic. might potentially have something to do with using Hot Reload
Same issue,
Exception: Scene Hash 2654304734 does not exist in the HashToBuildIndex table! Verify that all scenes requiring server to client synchronization are in the scenes in build list
Unity 6.2.1f, most basic setup, only one main scene, no hot reload, no multiple unloaded scenes…
Multiplayer Play Mode with one client and one server.
If I try a simple bootstrap scene and NetworkManager.SceneManager.LoadScene(scene, LoadSceneMode.Single);
I get Scene 'Assets/Scenes/Main.unity' couldn't be loaded because it has not been added to the build settings scenes in build list.
and
Exception: Scene 'Assets/Scenes/Bootstrap.unity' couldn't be loaded because it has not been added to the build settings scenes in build list.
They are obviously in the build list…
Same problem for me on Unity 2022.3.20
I found this post about the network object finder, but when I entered the hash that is shown in the error message no object is found.
https://discussions.unity.com/t/is-there-a-good-way-to-find-what-networkobject-is-trying-to-be-spawned
Background: I have made a test version of my network interaction for Windows and that works fine. Now I’m porting it to Android for the Meta Quest and I get this error.
Thanks!
same issue here PLEASE HELP