Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Game not running on Android

Discussion in 'Android' started by donied, Dec 21, 2015.

  1. donied

    donied

    Joined:
    Apr 17, 2013
    Posts:
    18
    I have created a game on the android platform to test out a Google cardboard. I have installed the game on my phone a Samsung galaxy GT-S7580 running 4.2.2.I'm using Unity version 5.5.3.1f1 free version.

    when I run the game. I get a black screen showing the unity logo and saying powered by unity. Then it goes back to the android home screen.

    Any ideas. Thanks
     
  2. donied

    donied

    Joined:
    Apr 17, 2013
    Posts:
    18
    As a test I just built development pc version of the game. There is the following error

    NullReferenceException:Object Reference not set to instance of object.

    I'm not sure if this helps
     
  3. Yowling-Cat-Games

    Yowling-Cat-Games

    Joined:
    Dec 11, 2014
    Posts:
    37
    You should be able to double click on the error and it will take you to the line number of the error in your script..
    What is the script?

    Lar
     
  4. donied

    donied

    Joined:
    Apr 17, 2013
    Posts:
    18
    This issue seems to be caused by the scene being to big. I cut the scene down and now it runs on the phone