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

Unity Hight Medium and Hight Quality Level on Mobile Freezing on a Scene with Open World Terrain..

Discussion in 'Android' started by Captain_ZedaXross, May 9, 2023.

  1. Captain_ZedaXross

    Captain_ZedaXross

    Joined:
    Apr 1, 2023
    Posts:
    11
    Hello !!

    I've been developing an Open World Racing Game for "Android". I've been using the URP Pipelines for all my Visual needs, From Graphics to Post Processing. But when I actually build the game and Port it to my Android (Redmi Note 8 Pro & Galaxy Note 20) and switch to a higher graphic, the game freezes at the 99% of loading the Map Scene, I used "AsyncLoadScene" (The actual Scene with terrain) I've previously built the Game with a different scene with only the Post Process and controls, but with only a Plane to some Obstacles, the game ran at a smooth 60 FPS, and I also had another Scene Built using only the Terrain but no Props (again 60 FPS), But while combining them both it just gets frozen at 99%. I've also made sure that all my props have necessary LOD's and I've also used Occlusion Culling on my camera, The Game runs normally at 60 FPS on Low Graphics and even has all the lightings (Road Lights and others) and Post Processing.

    Side Note : I've also bumped up the over all Size of the Terrain by 3000 x 3000, I also have a slow LapTop, but it actually performs well over 70 FPS. I used Force Uncompressed for texture Compression and Resolution set to 126

    And Again, the game only freezes when I go to Medium or High Quality on the Map Scene (Actual Game Scene)
    But it works Just fine with the two other Differentiated Scenes. (After Build).
     
    Last edited: May 10, 2023
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    Check the differences between low and medium quality settings. Disable each one by one until it stops freezing. Then isolate if that is truly the issue by using the low setting and only enabling the one setting that made the game not freeze. If that causes the freeze you know what the issue is. Then let us know in case someone knows something about this.

    Keep in mind that your laptop could likely still outperform the mobile device by significant margins, at least in one aspect (CPU. GPU, memory, ..).
     
    Captain_ZedaXross and Ryiah like this.
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,082
    A Galaxy Note 20 has an Mali-G77 M11 GPU which scores an ~82,000 on 3D Mark Ice Storm Unlimited. Intel UHD G1 (integrated from 2019) scores ~97,000. NVIDIA's 460M (dedicated from 2010) scores ~133,000.

    Of course both of those are fairly old at this point so to give you an idea of how far behind mobile devices are the Intel UHD 770 (integrated from 2022) scores ~180,000. NVIDIA's 3060M (dedicated from 2021) scores ~466,000.

    Your laptop would have to be insanely old dedicated or moderately old integrated to be worse than just about all mobile devices from the past couple of years. With the only exception to this rule being the Apple Silicon M1/M2 iPad Pro tablets which are using the same chips as Apple's laptops.
     
    Last edited: May 9, 2023
    Captain_ZedaXross likes this.
  4. Captain_ZedaXross

    Captain_ZedaXross

    Joined:
    Apr 1, 2023
    Posts:
    11
    I agree... and my apologies as I didn't till today have a look at the specs it's a HP EliteBook 735G with a AMD PRO A12-8800B R7, 12 Compute Cores 4C+8G @2.10 GHz.. And honestly I'm impressed after I really pushed it to it's limit and it juiced out decent graphics.
     
  5. Captain_ZedaXross

    Captain_ZedaXross

    Joined:
    Apr 1, 2023
    Posts:
    11
    Hello Mr.Smile !!

    I got the max graphics working by just making the default setting to be Max, but for some reason when I switch to medium it reboots my phone.. This is confusing and I am a little worried it might end up real bad... because like the Max graphics works but not the medium?..
     
  6. Captain_ZedaXross

    Captain_ZedaXross

    Joined:
    Apr 1, 2023
    Posts:
    11

    Hey!! I've found the problem and it involves terrain tree, if I build the game without trees then the issue is fixed.
     
    Yavuz_Selim likes this.