Scene…… couldn‘t be loaded because it has not been added to the build settings or the AssetBundle...

Scene ‘CarDemo(KeyboardInput)’ couldn’t be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.解决方案

来到这里的你一定遇到了和我一样的问题:
Scene…… couldn‘t be loaded because it has not been added to the build settings or the AssetBundle..._第1张图片
导致这种问题的原因可能不一样,所以我的解决方案仅供借鉴:
打开File->Build Settings,在窗口上方加入你要加载的所有场景,并打勾:
Scene…… couldn‘t be loaded because it has not been added to the build settings or the AssetBundle..._第2张图片
然后问题就奇迹般地解决了!(暴露小白本性哈哈)

你可能感兴趣的:(unity3D)