x


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)
more ▼

asked Nov 28 '10 at 10:11 PM

Leepo 1 gravatar image

Leepo 1
283 8 10 21

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

GetPixels works fine; maybe you're not using a supported format? (Like RGB24.)

more ▼

answered Nov 29 '10 at 03:15 AM

Eric5h5 gravatar image

Eric5h5
80.1k 41 132 519

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1999
x1953
x360
x30
x7

asked: Nov 28 '10 at 10:11 PM

Seen: 1816 times

Last Updated: Nov 28 '10 at 10:11 PM