티스토리 뷰
Programming Tip
[Unity]Scene 'IntroScene' (-1) couldn't be loaded because it has not been added to the build settings
dreamstalker 2016. 7. 2. 23:32An error in in console:
Scene 'IntroScene' (-1) 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...
UnityEngine.Application:LoadLevel(String)
GameManager:StartMain()
(at
Assets/Scripts/GameManager.cs:72)
UnityEngine.GameObject:SendMessage(String)
Send:OnMouseDown()
(at
Assets/Scripts/Send.cs:10)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)
The cause of the error: IntroScene to use in method StartMain() doesn't add to build settings menu.
public void StartMain()
{
Application.LoadLevel ("IntroScene");
}
How to fix : move to Menu> File->Build Settings... The IntroScene in Project view drags and drops to the screen of Build Settings.
It's just simple.
'Programming Tip' 카테고리의 다른 글
[Unity] importing .fbx file and getting 3D characters (0) | 2016.07.04 |
---|---|
[Unity]There is no 'AudioSource' attached to the "test" game object (0) | 2016.07.03 |
[Anrdoid] How to use ScrollView (0) | 2016.06.29 |
[Anrdoid] how to fix ACTION_DIAL Exception of Implicit Intent (0) | 2016.06.28 |
[Unity]How to refer to a variable in other files (0) | 2016.06.27 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Reconstruct jeans
- jeans to a bag
- home sewing
- chiffon skirts
- jean to skirt
- sewing skirts
- sewing tutorial
- reuse jeans
- sewing a dress
- how to sew ciffon skirts
- easy sewing
- without a pattern
- recycle jeans
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함