Search Unity

ASTC Texture compression causes red lightmaps

Discussion in 'Global Illumination' started by ROBYER1, Aug 13, 2019.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    We are working on a project for the Oculus Quest/PC VR, recently noticed ASTC texture compression is recommended in the Oculus Documentation for Unity so we switched to it. As soon as we switched to it, lightmaps seem to bake in a red tone. Switching back from ASTC to anything else in the build settings window allows lightmaps to bake correctly again.

    I am submitting a bug report as I write this but it keeps failing because the bug reporter sometimes errors out with 'bad gateway' or something. I feel like a full-time QA tester for Unity lately with the amount of bugs I have submitted. oosh.PNG
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Thanks for reporting the issue. I assume you are using high quality lightmap encoding, right? For the time being, you can use RGB9e5 compression, if you require HDR intensities.
     
    ROBYER1 likes this.
  3. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    I was having a mess around with the saved lightmap formats and that was the one that worked so thanks for the suggestion, hopefully this issue can be fixed in an upcoming release
     
    AlejUb likes this.