- Home /
Top part of stantalone client is from another scene
Hi there, so I've been making this RPG type game, and it works perfectly when run in debug mode inside of unity. But in the standalone client, the top (about a centimeter) is from the menu scene. Image here: http://i.imgur.com/qXq9nNg.jpg The script I use to change from the menu scene to the game looks like this if it's helpful:
//MenuScript.js
#pragma strict
function Start ()
{
}
function Update ()
{
}
function OnGUI ()
{
if (GUI.Button (new Rect (64,694,160,64), "Play Game"))
{
Application.LoadLevel(2);
}
}
Has anyone got an idea about what's going on? Any help appriciated! (Other resolutions and quality settings doesn't make a diffrence, has been tested on another computer with the same error)
Your answer

Follow this Question
Related Questions
BCE0043: Unexpected token: }. 1 Answer
How can i make my scene less laggy? 2 Answers
How to start a function from another scene. 1 Answer
Weapon Switching 2 Answers
Make a global variable that can be accessed in different scenes 2 Answers