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. Dismiss Notice

Texture2DArray and ASTC

Discussion in 'Scripting' started by andywatts, Apr 18, 2020.

  1. andywatts

    andywatts

    Joined:
    Sep 19, 2015
    Posts:
    107
    This should work right?

    Code (CSharp):
    1. var t2 = new Texture2DArray(64, 64, 2, TextureFormat.ASTC_4x4, false);
    It's throwing "Failed SupportsTextureFormat; format is not a valid TextureFormat"
    Unity 2020.1.0b5
     
    Abruzzi likes this.
  2. Abruzzi

    Abruzzi

    Joined:
    Feb 6, 2015
    Posts:
    44
    Same thing still happens on 2020.1.17f1. Is there any workaround?