Search Unity

on mobile app there are always some bugs, on the computer everything is normal

Discussion in 'Editor & General Support' started by ituraspe, Feb 5, 2019.

  1. ituraspe

    ituraspe

    Joined:
    Jan 1, 2019
    Posts:
    27
    HI guys, I have a problem. Why always my game works perfectly on PC, but when I build apk
    on my androids there are always some bugs. (for example, ground is white, not black, character
    disappears after few seconds).

    Do I have to change something in build settings?
    My game is not demanding to run, its very simple(27mb).
     
  2. ituraspe

    ituraspe

    Joined:
    Jan 1, 2019
    Posts:
    27
    any suggestion?
     
  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Not without more information. How are you debugging on the device? Please provide steps to reproduce with a brand new project.
     
  4. ituraspe

    ituraspe

    Joined:
    Jan 1, 2019
    Posts:
    27
    So this is all I do when I make a game.
    1. First I make a game (for example Doodle Jump replica)
    2. I put the scenes in build settings, click switch platform to android
    3. I changed the company name and product name and press build

    This is my (default) settings https://imgur.com/a/uZS4SoC

    So for example, I made three levels everything works perfectly, but on the phone character dissapear
    after a few seconds.

    I searched on the internet and found that Api compatibility Level can be the problem.
    Also when I click build settings I get warning "
    Failed getting available Android API levels. Make sure your android sdk tools version is 25 or higher and you have internet connection." (maybe that's a problem, but I think I have sdk, because Unity build my game but with some bugs)
     
    Last edited: Feb 9, 2019
  5. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  6. gowthamact2022

    gowthamact2022

    Joined:
    Jun 22, 2021
    Posts:
    10
    The game works good in some phones but in some android there are bugs..how could I over come this issue
     
  7. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446