1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  3. We’re giving 2017.1 beta testers a chance to win t-shirts and a Nintendo Switch. Read more on the blog.
    Dismiss Notice
  4. We want to know how you learned Unity! Help us by taking this quick survey and have a chance at a $25 gift card
    Dismiss Notice
  5. Are you an artist or level designer going to Unite Europe? Join our roundtables there to discuss artist features.
    Dismiss Notice
  6. Unity 5.6 is now released.
    Dismiss Notice
  7. Check out all the fixes for 5.6 on the patch releases page.
    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