Hello Guest

Author Topic: Bizarre issue when upgrading Unity  (Read 5383 times)

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Bizarre issue when upgrading Unity
« on: May 21, 2012, 10:54:18 pm »
I upgraded to version 3.5.2f2 just now and I am getting a strange issue where the x scale of the entire screen is stretched on an iPhone 4. This goes away when I reload the same exact scene, so it only happens on the initial load that Unity does. Any other manual loading by Application.LoadLevel and the problem goes away. I have changed nothing in the project and it started doing this immediately after upgrading. Any ideas if this is Unity's end or 2DToolkit? I'm really scratching my head on this one..

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Bizarre issue when upgrading Unity
« Reply #1 on: May 21, 2012, 11:12:25 pm »
I haven't ran it on iPhone lately. Do you use the tk2dCamera? If not, it is most likely to be a problem with Unity. It doesn't make sense that manually reloading the level fixes it.

fsadeq

  • 2D Toolkit
  • Sr. Member
  • *
  • Posts: 353
    • View Profile
Re: Bizarre issue when upgrading Unity
« Reply #2 on: May 21, 2012, 11:33:11 pm »
I am indeed using a tk2dCamera. It makes zero sense manually reloading fixes it. For now, I am just immediately calling Application.LoadLevel(0) and it resolves it. Somethings up though.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Bizarre issue when upgrading Unity
« Reply #3 on: May 21, 2012, 11:41:42 pm »
I'll look the next time I build on Mac/iOS. Perhaps its something I could work around.