Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 3.5.1f2 and TouchScreenKeyboard... New release, new problem?

Discussion in 'iOS and tvOS' started by DanjelRicci, Apr 13, 2012.

  1. DanjelRicci

    DanjelRicci

    Joined:
    Mar 8, 2010
    Posts:
    304
    So, I just updated everything: Unity to 3.5.1f2, and Xcode to 4.3.2. Everything worked fine when I compiled a small tech demo on my iPodTouch4 (iOS 5.1). But when I tried to compile my main project on the same device, something went bad, and I received this error:

    Then I realized I should have changed iPhoneKeyboard with TouchScreenKeyboard, and so I did it. I tired to compile again, and here it is, again:

    How can it be? TouchScreenKeyboard is the right type, it's the one written here in the online Unity Script Reference, and on the local manual too. And this is the piece of code at (17,24) which is giving problems:

    Code (csharp):
    1. private var keyboard : TouchScreenKeyboard;
    It's the same piece of code in this page of the Script Reference!

    The weird thing is that every script is compiling ok, but the whole game won't compile. Am I doing something wrong? Or there's something wrong in Unity latest update?
     
    Last edited: Apr 13, 2012