- Home /
Does Unity iOS support GetPixels?
I get the following message on Unity iOS (basic). I have set the IsReadable flag on this texture and I load it via Resourcs.Load. Is GetPixels simply not supported, bugged..or is this my fault somehow?
Unable to retrieve image reference
UnityEngine.Texture2D:GetPixels(Int32)
SFontRenderer:SetFont(JFont) (at Assets/Standard Assets/SGUI/SFontRenderer.cs:23)
Comment
Best Answer
Answer by Eric5h5 · Nov 29, 2010 at 03:15 AM
GetPixels works fine; maybe you're not using a supported format? (Like RGB24.)
Hi Eric, can you tell us what are the suported or unsuported formats please? And is it specific to iOs? Thanks in advance