티스토리 뷰

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

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/05   »
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
글 보관함