Hello :D,

I have a game that contains two scenes. One scene is the menu scene and the other one is the gameplay scene. When I press play on the menu scene, it transfers me to the gameplay. Everything works fine in Unity when I click play.

However, when I build both scene, the application (i have a mac) crashes when I click play. However, when I build it AS A DEVELOPMENT BUILD, everything works fine. Why is it behaving in such a way?

Thanks for the help!

Muhasaresa :slight_smile:
—||—

So we have establised you are getting no warnings, since you are able to run the standalone. If you are getting WARNINGS, however, take a look at the console or log and find what scripts are causing the Warnings. As far as the custom cursor question, I have posted a C# script to allow you to use your own in game cursor, which will also work in the Standalone build :slight_smile:

using UnityEngine;
using System.Collections;

public class CustomCursor : MonoBehaviour
{
    public Texture2D cursor;
    Vector2 mouse;
    public float width = 64;
    public float height = 64;
    Rect cursorPosition;

    void Update()
    {
        mouse = new Vector2(Input.mousePosition.x, Screen.height - Input.mousePosition.y);
		if(Screen.showCursor)
			Screen.showCursor = false;
    }

    void OnGUI()
    {
        cursorPosition = new Rect(mouse.x, mouse.y, width, height);
        GUI.DrawTexture(cursorPosition, cursor, ScaleMode.ScaleToFit);
    }
}