본문 바로가기
개발/Unity

문제해결)Unity)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...

by 테샤르 2022. 4. 25.

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...

해당이슈는 Scene을 Load할때 해당 신이 Build Setting에 미포함되어있어서 발생한 이슈이다.

Scene을 로드하는 과정에서 Scene을 명시적으로 셋팅해줘야한다.

반응형

[File] - [Build Settings] - [Scene in Build]에 들어가서 미포함된 Scene을 로드한다.

본인의 씬 이름은 'SceneMain'이다.

로드하려는 Scene을 Add Open Scenes으로 추가해주고 

씬 로드에 대한 테스트를 진행하면 정상적으로 잘 되는것을 확인할수 있다.

 

 

 

★☆☆☆☆

 

반응형

댓글