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

Android issue scene does not loading

Discussion in 'Android' started by nail_safin, May 6, 2017.

  1. nail_safin

    nail_safin

    Joined:
    Oct 31, 2016
    Posts:
    14
    Hello!

    I have a problem. My game is successfully loaded into the main menu scene on any device. But when some people try to start playing, the game opens the loading screen, and nothing happens. For me and some people who have android 4.0 and 5.0, game works the fine! But some people cry that the game does not start. My friend also has this problem. I check the error log and nothing is found. I do not know where is problem |=
     
  2. WermHat

    WermHat

    Joined:
    Jul 13, 2012
    Posts:
    88
  3. nail_safin

    nail_safin

    Joined:
    Oct 31, 2016
    Posts:
    14
  4. nail_safin

    nail_safin

    Joined:
    Oct 31, 2016
    Posts:
    14
    Yeah im using unity 5.6.0f3
     
  5. nail_safin

    nail_safin

    Joined:
    Oct 31, 2016
    Posts:
    14
    So problem is not gone.

    I thought that the problem may be in the version of the android, because most people had a problem on version 7.0 and 6.0
    Complaints were received from players with different versions of the android. Now I think that the problem is not related to the version of the android.It seems to me that this could be the problem of the unity or my :p It's very strange for me and for a couple of my friends the application runs without problems and everything is fine. 1/3 of the installers complain that the game does not start. I have no idea...

    Here is the latest version of the game - google play

    If it is not difficult for you, please check! This is not advertising. People in the comments have no idea about debug log and other things, so I ask you. Pleease help me ;(

    P.s. i have integrated plugins:
    - GoogleMobileAds
    - GooglePlayGames
    - FacebookSDK (last version)

    I deleted duplicate and conflicting libraries

    Last build - google drive
     
    Last edited: May 12, 2017
  6. crypt0

    crypt0

    Joined:
    May 25, 2015
    Posts:
    55
    Hi,
    do you use a splitted application? .apk and .obb? Try to add READ_EXTERNAL_STORAGE permission to the manifest.xml - In my case it was the solution!

    Cheers
     
    josh_kuttler likes this.
  7. nail_safin

    nail_safin

    Joined:
    Oct 31, 2016
    Posts:
    14
    Yes, I did as you said and it all worked. However, there was a problem when the application is first launched on a new device, the textures are not loaded (fix by restarting). If you install through google play. But if you install directly through Unity everything works. Any ways thank you.
     
  8. adeel1214

    adeel1214

    Joined:
    Jun 22, 2018
    Posts:
    7
    can any one help me i have same problem my game only have three scene start scene is working correctly but second scene is not load correctly and character is not appear but in unity editor every thing is all right
     
  9. TrueJollyRoger

    TrueJollyRoger

    Joined:
    Dec 23, 2017
    Posts:
    7
    Exactly same problem and changing order of the scenes doesn't help, right? First dcene, no matter which, works fine, bit next one isn't loading.
    Bug reproduce self on some Android phones with 100% repro.
     
    trombonaut likes this.
  10. Mostdeep

    Mostdeep

    Joined:
    Jan 16, 2017
    Posts:
    5
    i have some problem right now.. my APK games cannot loading after the gameplay scene , and successfully loaded on Tiitle Screen on any devices on Android , can you tell me what is exactly the main problem which cause this bug ?
     
  11. better_walk_away

    better_walk_away

    Joined:
    Jul 12, 2016
    Posts:
    291
    Hello, I am having the same issue as well. Some of the Android devices can load the first scene (i.e. main menu scene) and when my players try to load the second scene (game level scene), it fails and the game freezes. Not all android device are having this problem. I am sure that it's not because of the lower spec of the device. oppo r15x has 4 GB ram, but it cannot load the second scene. And my game only require 500MB of ram according to Profiler.
     
  12. KazYamof

    KazYamof

    Joined:
    Jun 26, 2015
    Posts:
    59
    Same issue here. unity 2019.2.0a9
     
  13. mdelchev

    mdelchev

    Joined:
    Feb 19, 2019
    Posts:
    2
    I'm facing the same issue. Only seems to occur on android 8. Other versions run the game just fine. Unity - 2018.2.20
     
  14. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    824
    If you have split application (so you use obb extension), you should add READ_EXTERNAL_STORAGE permission to the custom manifest as well (if you have it). Users must grant that permission for obb loading to work on all devices.
     
    goldcloud144 likes this.
  15. mdelchev

    mdelchev

    Joined:
    Feb 19, 2019
    Posts:
    2
    Not it unfortunately - not using split application. Tried building up the app with Unity 2017.4.24 and it works on Android 8. Gave Unity 2018.3.11 a go and I'm getting the same issue - ANR when loading a scene. Application seems to work ok on android 9 and and android 5
     
    trombonaut likes this.
  16. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    824
    Please report a bug with the project that allows to reproduce this issue. If you have time, check if you can reproduce it with a simple new project. If you would provide a simple project with your bug report, that would help a lot while investigating it.
     
  17. sylon

    sylon

    Joined:
    Mar 5, 2017
    Posts:
    246
    Is there news on this issue?
    Today i spent the entire day, trying to get my game working on Android, after postponing this for weeks for fear of exactly this. :(
    I have updated to 2019.1.0f1 especially because of this same/similar problem i had in previous versions. (since 5.6 and different phone)
    Menu scene loads fine, main scene does not.
    So tomorrow i will now probably have the joyous task of debugging and figuring out what is going wrong.
    Time for bed now. I'll probably cry myself to sleep.
     
    thayllordossantos likes this.
  18. better_walk_away

    better_walk_away

    Joined:
    Jul 12, 2016
    Posts:
    291
    This happened only on certain Android devices according to the issue reports that I got from my players. I had manually added the read external storage permission in my android manifest, but this issue still happened on certain ZoneFone Android devices. Unfornately, I don’t own any of these devices, I couldn’t find the issue. So I simply reduced my build to under 100 MB at any means, and avoid using the obb splitting feature.
     
  19. Jscerri

    Jscerri

    Joined:
    Sep 6, 2018
    Posts:
    2
    Any news, please? I still can't find a solution. I literally tried everything in each forum...
     
  20. ALargeTurkey

    ALargeTurkey

    Joined:
    May 29, 2017
    Posts:
    5
    Have there been any updates here? Same issue when using 2018.3.0f2
     
  21. ASHStudioinc

    ASHStudioinc

    Joined:
    Jan 31, 2019
    Posts:
    7
    Sir How can we enable permission Is can you help I seen it in a other setting but its already external storage Kindly If I am doing wrong then help us because you said in custom manifest file Kindly tell us steps as well
     
  22. thayllordossantos

    thayllordossantos

    Joined:
    Aug 6, 2019
    Posts:
    1
    man in my problem, that was very similar at your i done configuring the number of the scenes because in the build the unity can see the scenes of the other way
     
  23. Ehredt

    Ehredt

    Joined:
    Jun 20, 2018
    Posts:
    79
    I'm having this issue on Oculus Quest; the app exits when attempting to load new scenes. I suspect it has something to do with the Android manifest but I'm not sure and haven't been able to fix it yet.
     
  24. egemuhsin

    egemuhsin

    Joined:
    Apr 7, 2019
    Posts:
    4
    I have same problem in my Samsun S9+. The game is working fine on my coworker's Asus Zenfone 5. In my S9+ first scene is loaded perfectly. When i load 2nd scene it is working fine too. But when i try to load 3rd scene the program stuck. I couldn't find any solution in anywhere.
     
  25. Mateus-Bomfim

    Mateus-Bomfim

    Joined:
    Mar 6, 2018
    Posts:
    2
    Unity 2019.3.7f1:
    I had this bug, were the a determined scene was not loading on android, this only started to happen just after the upgrade from 2018.4.14f1 to the 2019.3.7f1, my solution was simple, just create a copy of the "Buggy" scene, delete the old one and use the copy instead.
    It has worked for me...hope it helps
     
  26. mkfcga

    mkfcga

    Joined:
    Oct 22, 2016
    Posts:
    2
    unity 2020.3.16f1
    if activate "split apks by architecture" and build while "build app bundle" is already active. cause the bug for me. and i didn't know that until i delete all "cached build" folders in library folder..
    isn't matter to deactivate "split apks" after that. nothing gonna changes. so just delete cache folders..