Author Topic: Application.LoadLevel causing very strange behavior on the iPhone  (Read 11283 times)

yuewah

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 180
    • View Profile
Re: Application.LoadLevel causing very strange behavior on the iPhone
« Reply #15 on: March 25, 2013, 07:13:14 AM »
u try to put Debug.Log after Application.LoadLevel , and see how many time LoadLevel is called on the iPhone. It will have strange problem in iPhone only if LoadLevel is called multiple time within a short period of time

Rafe

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 78
    • View Profile
Re: Application.LoadLevel causing very strange behavior on the iPhone
« Reply #16 on: March 26, 2013, 01:04:05 PM »
I woke up this morning with the answer (very strange feeling)... I had removed the maincamera. Adding it back in fixed the issue.

It would be great to add a warning for this since it is obscure & works fine in the Editor (assuming someone else can reproduce and confirm).


arun02139

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: Application.LoadLevel causing very strange behavior on the iPhone
« Reply #17 on: June 13, 2014, 11:13:22 AM »
I just want to add that adding the main camera back in also solved this (or a very similar) problem for me :o

Happy coding, all =)