Search Unity

  1. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  2. Unity 2017.2 is now released.
    Dismiss Notice
  3. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  6. Unity 2017.3 beta is now available for download.
    Dismiss Notice

GetPixels errors with PVRTC compression enabled

Discussion in 'iOS and tvOS' started by _Valek_, Nov 8, 2016.

  1. _Valek_

    _Valek_

    Joined:
    Oct 4, 2016
    Posts:
    3
    Hello!

    When I try to get pixel data from spritesheet with PVRTC compression on IOS by GetPixels I see the following errors:
    Invalid texture format: 33
    Image invalid format!
    Unsupported texture format - needs to be ARGB32, RGBA32, BGRA32, RGB24, Alpha8, RGBAFloat, RGBAHalf or one of supported compressed formats.
    UnityEngine.Texture2D:GetPixels(Int32, Int32, Int32, Int32)

    Although it works with RGBA Compressed ETC2.
    Texture is 2048x2048, read/write is enabled.
    There`s nothing about it in documentation. How can I deal with it?

    Thanks.
     
    Last edited: Nov 8, 2016
  2. _Valek_

    _Valek_

    Joined:
    Oct 4, 2016
    Posts:
    3