2D Toolkit Forum

2D Toolkit => Support => Topic started by: mrbloggy on December 26, 2012, 11:57:59 pm

Title: Using 1.8 I have a black / corrupt sprite on iPhone? HELP!!
Post by: mrbloggy on December 26, 2012, 11:57:59 pm
Hi,

I am using Unity 4 and 2D toolkit 1.8

I am creating a game to be compatible with all iOS devices, and using the 2D camera to 'stretch to fit'

I have created the game in 2048 x 1536 for iPad 3.

The problem is the background (sized as above) will show on the iPad 3, but when run on the iPhone 4 it is just a Black Rectangle!!!!!!!

I had this issue with other sprites in a previous version, the upgrade helped, but with 1.8 I have no hope!!

I have even tried a test from scratch with only a backdrop, same issue.

Please, please, please help.
Thanks in advance for whoever solves this one
Title: Re: Using 1.8 I have a black / corrupt sprite on iPhone? HELP!!
Post by: hachibei on December 27, 2012, 05:36:24 am
Did you check the camera position if its loaded in iPhone 4? A reproducible scene would really help as well
Title: Re: Using 1.8 I have a black / corrupt sprite on iPhone? HELP!!
Post by: unikronsoftware on December 27, 2012, 06:37:14 am
How big is the atlas, and how are you using this? The camera, etc has no relevance to this, it is likely to be just the texture.

The maximum texture size on iphone4 is 2048x2048, and if your texture/atlas is bigger than that, Unity will just draw a black texture. What else can you tell me about your atlas / texture?