Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

GetPixel with RGBA32 not working on IOS!

Discussion in 'Immediate Mode GUI (IMGUI)' started by Prodev101, Dec 16, 2010.

  1. Prodev101

    Prodev101

    Joined:
    Aug 6, 2010
    Posts:
    49
    I've set my texture to RGBA 32 bit using override for iPhone Option.

    Read/Write is Enabled.
    Texture is 512x1024 (tried it at 1024x1024 aswell)
    Generate Mip Maps OFF
    Generate Normal Map is OFF
    Filter Mode Bilinear
    Wrap Mode Clamp

    When ever i do a GetPixel call i get the following error:

    Unsupported image format - the texture needs to be either ARGB32, RGB24 or Alpha8

    I can only set RGBA 32 Bit with iphone version of Unity Not ARGB32.. It works with RGB24 Alpha 8. But i Need RGBA 32bit.

    Any ideas?
     
  2. Jacob-Williams

    Jacob-Williams

    Joined:
    Jan 30, 2009
    Posts:
    267
    I just recently ran into the same issue - did you ever figure this out?