Hello Guest

Author Topic: Using 1.8 I have a black / corrupt sprite on iPhone? HELP!!  (Read 5148 times)

mrbloggy

  • Newbie
  • *
  • Posts: 1
    • View Profile
Using 1.8 I have a black / corrupt sprite on iPhone? HELP!!
« 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

hachibei

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Using 1.8 I have a black / corrupt sprite on iPhone? HELP!!
« Reply #1 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Using 1.8 I have a black / corrupt sprite on iPhone? HELP!!
« Reply #2 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?