Search Unity

Feedback Improve "format is not supported, decompressing texture" warning

Discussion in 'Editor & General Support' started by Peter77, Apr 3, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
    Since Unity Technologies asked us to post our suggestions to the forum, here is my first feedback...

    If I run our game on Android, it outputs:
    Code (CSharp):
    1. WARNING: RGBA Compressed BC7 sRGB format is not supported, decompressing texture
    2. WARNING: RGB Compressed DXT1 UNorm format is not supported, decompressing texture
    It would be enormously helpful if the warning message contains the texture name.
     
  2. Immu

    Immu

    Joined:
    Jun 18, 2013
    Posts:
    240
    Same problem, I'm a bit clueless :/

    Code (CSharp):
    1.  
    2. RGBA Compressed BC7 UNorm format is not supported, decompressing texture
    3. RGB Compressed BC6H UFloat format is not supported, decompressing texture
    4. RGBA Compressed BC7 sRGB format is not supported, decompressing texture
    5. RGB Compressed BC6H UFloat format is not supported, decompressing texture
    6.  
    I'm using LWRP. building windows 64 bits
    I can surely manually scroll within all my textures, but still. That could be a very nice quality of life improvement.

    Also RGB(A) Compressed BC7 isn't supposed to be supported on windows DX11 ? (https://docs.unity3d.com/Manual/class-TextureImporterOverride.html)



    By the way, with LWRP/PpV2, we always get those warnings. Can't they be directly stripped off?
    Code (CSharp):
    1.  
    2. 168: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/DepthOfField' - Pass 'CoC Temporal Filter' has no vertex shader
    3. 169: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Waveform' - Pass '' has no vertex shader
    4. 170: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Waveform' - Setting to default shader.
    5. 171: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
    6. 172: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
    7. 173: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/MultiScaleVO' - Pass '' has no vertex shader
    8. 174: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/MultiScaleVO' - Setting to default shader.
    9. 175: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Vectorscope' - Pass '' has no vertex shader
    10. 176: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Vectorscope' - Setting to default shader.
    11. 177: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/LightMeter' - Pass '' has no vertex shader
    12. 178: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/LightMeter' - Setting to default shader.
    13. 179: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
    14. 180: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
    15. 181: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
    16. 182: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Histogram' - Pass '' has no vertex shader
    17. 183: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Histogram' - Setting to default shader.
    18. 184: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/ScreenSpaceReflections' - Pass '' has no vertex shader
    19. 185: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/ScreenSpaceReflections' - Setting to default shader.
    20.  
    21. 344: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/DepthOfField' - Pass 'CoC Temporal Filter' has no vertex shader
    22. 345: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Waveform' - Pass '' has no vertex shader
    23. 346: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Waveform' - Setting to default shader.
    24. 347: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
    25. 348: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
    26. 349: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/MultiScaleVO' - Pass '' has no vertex shader
    27. 350: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/MultiScaleVO' - Setting to default shader.
    28. 351: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Vectorscope' - Pass '' has no vertex shader
    29. 352: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Vectorscope' - Setting to default shader.
    30. 353: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/LightMeter' - Pass '' has no vertex shader
    31. 354: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/LightMeter' - Setting to default shader.
    32. 355: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
    33. 356: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
    34. 357: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
    35. 358: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Histogram' - Pass '' has no vertex shader
    36. 359: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Histogram' - Setting to default shader.
    37. 360: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/ScreenSpaceReflections' - Pass '' has no vertex shader
    38. 361: [Unity] WARNING: Shader Unsupported: 'Hidden/PostProcessing/ScreenSpaceReflections' - Setting to default shader.
    39.  
    40.  
    41. And especially those ones. I've never requested AR or VR shaders..
    42. 496: [Unity] WARNING: Shader Unsupported: 'Hidden/VR/BlitTexArraySliceToDepth_MSAA' - Pass '' has no vertex shader
    43. 497: [Unity] WARNING: Shader Unsupported: 'Hidden/VR/BlitTexArraySliceToDepth_MSAA' - Setting to default shader.
    44. 498: [Unity] WARNING: Shader Unsupported: 'AR/TangoARRender' - Pass '' has no vertex shader
    45. 499: [Unity] WARNING: Shader Unsupported: 'AR/TangoARRender' - Setting to default shader.
    46.  
    47.  
     
    Last edited: Jun 18, 2019
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Could you file a bug report? I did try to fix this issue a few weeks ago but it seems that the name of the texture is not available at that part of code. If we had a bug report it would be easier to work, I didnt have a reproduction at the time.
     
    goldcloud144 and Peter77 like this.
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
    I believe this is a known issue, which should be fixed in some Unity versions already:
    https://issuetracker.unity3d.com/is...standalone-player-when-using-built-in-shaders

    If you're able to reproduce the issue with a more recent Unity version, it's probably a good idea to submit a bug-report for it as well.
     
    goldcloud144 and karl_jones like this.
  5. Immu

    Immu

    Joined:
    Jun 18, 2013
    Posts:
    240
  6. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
    Yes.
    WARNING: RGBA Compressed BC7 sRGB format isnot supported, decompressing texture

    and
    WARNING: Shader Unsupported: 'Hidden/PostProcessing/DepthOfField' - Pass 'CoC Temporal Filter' has no vertex shader

    ... are different issues.

    The shader problem has nothing to do with my initial feedback that they please improve the texture compression warning.
     
  7. hungrybelome

    hungrybelome

    Joined:
    Dec 31, 2014
    Posts:
    336
    +10000

    I work on an older Macbook Pro and use ASTC for my mobile game, so I get spammed with "RGBA Compressed ASTC4X4 sRGB format is not supported, decompressing texture" often.

    It would be SO helpful to know which texture it is talking about!
     
  8. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Could you file a bug report, please? Its the best way to get eyes on this.
     
  9. oobartez

    oobartez

    Joined:
    Oct 12, 2016
    Posts:
    167
    @karl_jones We have filed a bug report. As it is now, it is impossible to locate the textures and fix the problem in a real-world / larger project with hundreds of textures.

    Also, we have high quality compression enabled on most of our textures but there are only 20-30 warnings in the log file. Shouldn't BC7 be supported on macOS? Or does the problem only affect some specific configurations such as "non POT with alpha" or something similar?

    Here are the warnings that we're getting:
    Code (CSharp):
    1. 15: [Unity] WARNING: RGBA Compressed BC7 UNorm format is not supported, decompressing texture
    2. 16: [Unity] WARNING: RGB Compressed BC6H UFloat format is not supported, decompressing texture
    We're on Unity 2020.2.0f1.
     
    Last edited: Jan 6, 2021
  10. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
    oobartez and karl_jones like this.
  11. grrava

    grrava

    Joined:
    Nov 11, 2012
    Posts:
    46
    @karl_jones we have these warnings on UCB (lot's of them) - regular windows x64 build

    upload_2021-2-6_8-16-58.png

    I guess you can get access to our project on UCB so you can dig in to see what's going on? Let me know if I can help.

    Could it be that it's lightbake textures?

    upload_2021-2-6_8-36-42.png
     
    Last edited: Feb 6, 2021
  12. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Im not aware of any way to access UCB, it's not something I have done before.
    You would need to file a bug report.
     
  13. ViliamVolosV

    ViliamVolosV

    Joined:
    Feb 12, 2013
    Posts:
    19

    Did you find reason? we have same issue to
     
  14. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    570
    I'm getting this in Cloud Build too. How does a texture "become" UNORM? What setting makes it "Unorm" vs not? I think that might be the key because otherwise building for Windows 64 bit standalone shouldn't give this error:

    RGBA Compressed BC7 UNorm format is not supported
     
    arcandio likes this.
  15. jamessnow

    jamessnow

    Joined:
    Jul 19, 2022
    Posts:
    3
    Same here. I got this warning up to 12034 times on jenkins build (android)!
    It is slowing our build a lot. Any suggestions here?

    upload_2022-11-12_11-29-25.png