Search Unity

[RESOLVED] Canvas colors are broken in build!

Discussion in 'Android' started by Bastienre4, Aug 10, 2019.

  1. Bastienre4

    Bastienre4

    Joined:
    Jul 8, 2014
    Posts:
    191
    Hello.
    I'm working on a small android project (LWRP + 2019.1.13f1). In editor and with my phone (Honor 10), I have this result:
    upload_2019-8-10_14-39-14.png

    But with all the other phones I tested the game with (Honor 5, Asus, some lower end devices I dont remember the name), I have this result :
    upload_2019-8-10_14-36-49.png
    As you can see, all the canvas I have in the game (severall) are darker than in the editor. All the rest of the game (camera render) is completely fine.

    I don't know if it helps, but the logcat run say this at the launch of the application
    upload_2019-8-10_14-41-47.png

    On my phone (that works fine) I have only this part in the logs "
    upload_2019-8-10_14-45-4.png

    Any ideas about the cause of this issue?
    Thanks and have a nice day!
     
  2. Bastienre4

    Bastienre4

    Joined:
    Jul 8, 2014
    Posts:
    191
  3. Bastienre4

    Bastienre4

    Joined:
    Jul 8, 2014
    Posts:
    191
  4. Bastienre4

    Bastienre4

    Joined:
    Jul 8, 2014
    Posts:
    191
    I managed to find the issue of this damn bug. If anyone encounter this: make sure the color space is set to gamma.
    Now, it seem the default mode is linear but some devices seem to handle this poorly.