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 Game Crashing on Adreno GPUs

Discussion in 'Android' started by missakmissak, Oct 25, 2015.

  1. missakmissak

    missakmissak

    Joined:
    Sep 12, 2013
    Posts:
    5
    Hello,
    I developed a game on android with Unity, its working well almost on all galaxys and notes but its crashing on LG G3 and htc one m8. I think because they have Andreno GPU.
    I used log cat and this is what is shows.
    It's saying at some point the process of my app has died.
    I think this is the main Error
    W/Adreno-ES20( 596): <core_glMapBufferRange:1566>: GL_INVALID_VALUE

    How can I solve it?
    I use Unity 4.6.1
     

    Attached Files:

    • 1.png
      1.png
      File size:
      100 KB
      Views:
      809
    • 2.png
      2.png
      File size:
      98.1 KB
      Views:
      777
    Last edited: Oct 26, 2015
  2. nikkouskouk

    nikkouskouk

    Joined:
    Jan 23, 2015
    Posts:
    29
    Strange.Maybe a stupid idea but have you tried adreno texture compression at build settings?By the way my lg g3 lags in my game too.I havent tested the m8 but every other device i did tested didnt lag only the Lg G3 even though the profiler says i have constant 60 fps ...
     
  3. missakmissak

    missakmissak

    Joined:
    Sep 12, 2013
    Posts:
    5
    I initially put Adreno in the build settings but playstore was filtering out all the devices and they could not find the game. Then I put do not override and it was visible to all. However, there is still this problem. I have put OpenGl to automatic should I switch to 2 or 3 I am not sure. :(
     
  4. nikkouskouk

    nikkouskouk

    Joined:
    Jan 23, 2015
    Posts:
    29
    automatic works fine for me.You can create different builds with different version numbers for each texture compression and play store will automatically check and download the correct apk version for every device.
     
  5. missakmissak

    missakmissak

    Joined:
    Sep 12, 2013
    Posts:
    5
    If I made two apks one using ETC1 and one using Adreno and I put both on production in playstore. Do LG G3 users download automatically the Adreno one?
     
  6. nikkouskouk

    nikkouskouk

    Joined:
    Jan 23, 2015
    Posts:
    29
    I am not sure but i think so.Someone else can confirm.
     
  7. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
  8. missakmissak

    missakmissak

    Joined:
    Sep 12, 2013
    Posts:
    5
    I forced OpenGL 2.0 on both ETC1 and ATC and the crash is gone. Now it works. On automatic OpenGL it was crashing with ATC and ETC1 on Adreno GPUs.
    Maybe I should update Unity but now its okay. Thanks anyways