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. Dismiss Notice

Problem on developing mobile app

Discussion in 'Editor & General Support' started by cchoyin, Sep 11, 2014.

  1. cchoyin

    cchoyin

    Joined:
    Sep 11, 2014
    Posts:
    2
    Hi everyone, I am developing a mobile app by Unity3D. This is an app to create your own avatar. I had imported lots of image and button inside the game menu. Then I found that there is a problem appeared. That is when I export it into .apk (test on mobile), the app will automatically close when it loads to the main scene. I am sure the code are all correct since I can run it on computer (it works perfectly on .exe). I have tried lots of methods to fix it but it doesn't work :'( Can anybody help me?
     
  2. drewradley

    drewradley

    Joined:
    Sep 22, 2010
    Posts:
    3,063
    Check out your shaders. I've had that happen to me on an older phone and it was Transparent Cutout that was crashing my game. If that doesn't work, you may have to go through the tedious process of removing everything, including scripts, and slowly putting them back in and making many different builds until you find whatever it is that is crashing your game.
     
  3. cchoyin

    cchoyin

    Joined:
    Sep 11, 2014
    Posts:
    2
    Thanks for you opinion :). Basically, the transparent material is needed. The crash problem happened after I add more buttons and graphics. I just wonder if it is related to the number of objects / materials /codes or not...