Question by
Kriste · Oct 03, 2016 at 10:33 PM ·
build-errorscenes
Scene not working after build
I have 2 scenes in my game a menu and the level, everything works fine in the editor but not after build. After the build the level is just black with errors that are not in the editor.
can someone please help
2016-10-04-1.png
(214.4 kB)
2016-10-04.png
(363.2 kB)
Comment
Best Answer
Answer by Kriste · Oct 04, 2016 at 10:10 AM
I found the solution: i had a script that did this: gameobject.SetActive(Application.isEditor);
i removed it and now it works fine.
Your answer
![](https://koobas.hobune.stream/wayback/20220612093940im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Build EXE - Crashes 0 Answers
Problems compiling in Unity Cloud Build, but not locally 0 Answers
About generated dlls and Unity 1 Answer
Failed to repackage resources 1 Answer