Question by
Charkomangus · May 08, 2016 at 03:31 AM ·
buildbuild-errorunity 4.6
Arguement Out Of Range (ONLY IN BUILD)
Hello there!
I find myself in a bit of a pickle and I was wondering if anyone knew of a way I could sort this. My project works fine in the editor (up to hour long play) with scene transition being flawless. When I build it though (and this is PC x64 and x86) I go through my intro and menu fine but when I hit the game scene all hell breaks loose and I get arguements out of range.
I do use an OnLevelLoad function for this one, could that be it? Let me know if I can provide more information.
Thanks!
Comment
Answer by jni97 · May 08, 2016 at 05:51 AM
Hi, I think you haven't added all Scenes to the Build Settings. Just take a look at File>BuildSetting and add all your scenes in the box at the top.
Your answer
![](https://koobas.hobune.stream/wayback/20220612080353im_/https://answers.unity.com/themes/thub/images/avi.jpg)