Kevin Giang - Technical Designer, Programmer
  • Projects
    • Justice League - Battle for Metropolis
    • Plants vs Zombies: 3Z Arena
    • Benno's Great Race
    • Lightmare
    • Bored Space Cops
    • Project Nova
    • OcuBlocks
    • CandyMakers
    • Cubedly
    • Unfolding Tale
    • Ancient Forest & Grumpy Monsters
    • Analog Games >
      • Treasure Hunting
      • Treasure Hunting: Kraken
      • Treasure Hunting: One for Self, All for Self
      • Treasure Hunting: Houdini
      • Shadow Peacekeepers
  • Who I Am

Scene Loading Issues

4/27/2018

0 Comments

 
I recently had an issue with scene loading through scripts and found out that it was related to the usage of strings and plain text settings files:

Scene 'Scene_Game' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...

Picture
As you can see from above, 'Scene_Game' is registered in the editor. So what was the deal? There is a plain text file located in [ProjectRoot]\ProjectSettings\ called 'EditorBuildSettings.asset' that may need to be updated with the modified scene file name.

This error occurred for me because I renamed the scene file within the assets browser in engine, and it failed to also update the file in the file system.
0 Comments



Leave a Reply.

    Archives

    May 2018
    April 2018
    March 2018
    August 2015
    July 2015
    June 2015

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.