Search code examples
unity-game-engineassetbundle

Asset Bundle not loading?


Hello I am making a game for a school project and I ran int this error. enter image description here

the code loads the scene I have added it to the build settings as you can see here. enter image description here

please help!


Solution

  • To elaborate on what Everts said in a comment :

    earthquakeDoge is not earthquake doge

    You are most likely attempting to load a scene by doing this :

    SceneManager.LoadScene("earthquake doge");
    

    You should load it with the exact name specific by the scene asset

    SceneManager.LoadScene("earthquakeDoge");