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 Camera.Render JobAlloc.Overflow

Discussion in 'Android' started by Gordyus, Jan 29, 2017.

  1. Gordyus

    Gordyus

    Joined:
    Mar 3, 2016
    Posts:
    9
    Hy,

    I'm working on my first 2D game for android devices.
    Everything works well except one thing when i run my game on my LG G3.
    The game freezes and I need to restart it.
    When I take a look to the profiler I see that I have some warnings (about 10 or 20 for JobAlloc.Overflow) while the Camera.Render.

    After a lot of experimenting and time spent reading the documentation, I found that it comes from my sprites. So I have create a basic scene with a few sprites to test it.
    InGame.png
    As you can see there is red bricks.
    It gives me this warning in the profiler.
    Profiler.png

    All sprites are packed into an atlas, except for UI.
    I've tried to change the render queue, the material, the import format... Nothing works, I still have this warnings.

    So my first question is, why do i have this warning ? And my second is can I ignore it ?

    Thanks for the help.
     
  2. drolak

    drolak

    Joined:
    Jan 21, 2014
    Posts:
    49
    Hi,
    I'm on unity 5.5.1 and seeing this warning in my game too. Though we don't use sprites - its 3d geometry mostly.
    What does it mean?
     
  3. Gordyus

    Gordyus

    Joined:
    Mar 3, 2016
    Posts:
    9
    Hi,

    Actually, I still don't know what means this warning and how to resolve it...
    In my game, I have something like 10 count of this warning, but the game run pretty well (45~60 fps on LG G3) with a lot of sprites.

    So for now, I just ignore it, but if you have a solution or an explanation, you're welcome :)

    EDIT : Is your game run on android? And the warning appears only on android devices ?
     
    Last edited: Feb 15, 2017
  4. drolak

    drolak

    Joined:
    Jan 21, 2014
    Posts:
    49
    Yep, it's android. Not sure about iOS. Currently I'm investigating android build as I'm running into strange performance issues - the game runs slower over time on nexus 5x. Not sure about the cause yet, but I noticed this warning and couldn't find any documentation on it besides this thread.

    Would be awesome if someone from Unity could clear up what this warning really means.