Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by ArashiRyu4 · Aug 30, 2017 at 11:09 PM · ioskeyboardinputfieldphone

InputField not bringing up the keyboard on IOS

Im making a typing game for iOS but while the InputField works on a normal computer keyboard, it doesn't bring up the touch keyboard when I test it on my phone. Meaning, I can't type anything. What am I missing that would allow me to bring the touch keyboard on my phone when tapped on or just to keep it up as a default in the view. I've looked everywhere else with no success so any help will be appreciated. Thanks in advance.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Battlepad · Sep 21, 2017 at 08:44 AM 0
Share

I found out that if you create a new scene in the same project and add an InputField in it, this one will work. I think the problem stems from updating a project from 5.6 to 2017 and having iOS 11 on it somehow.

avatar image Battlepad · Sep 22, 2017 at 10:54 AM 0
Share

Ok I was able to reproduce the bug and issued a bug report: https://fogbugz.unity3d.com/default.asp?953062_0ciho7218hdsi0un

avatar image Aslan85 · Oct 17, 2017 at 09:05 AM 0
Share

Hi,

I got the same problem that you. Not about the "default orientation disables keyboard activation", but about the "InputField not bringing up the keyboard".

Do you have some updated news about it ?

avatar image Battlepad Aslan85 · Oct 17, 2017 at 10:06 AM 0
Share

Try the beta 2017.3.0b4. With this, it's partially working for me again

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Battlepad · Sep 20, 2017 at 11:55 AM

I got the same problem. But it's only not working on devices with the new iOS 11.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by shochet · Sep 25, 2017 at 04:20 PM

We are getting iOS 11 customer complaints about this too. Did you find a solution? I'm working on a reproducible test case to submit as a bug today. I'm not sure if updating Unity, Xcode, or NGUI will help - or is this an iOS bug?

Unity 5.6.3f1, Xcode 8.3.3, NGUI 3.9.4

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image shochet · Sep 25, 2017 at 06:25 PM 1
Share

Unity 5.6.3p4 patch release seems to have fixed our problem. We were allowing portrait rotation in build settings for our onboarding flow then later disabling it in code for gameplay, which probably triggered this bug: https://issuetracker.unity3d.com/issues/ios-cannot-open-url-when-launching-fblogin-through-unity-facebook-sdk-in-portrait-only-autorotate-state

avatar image Battlepad · Sep 25, 2017 at 08:05 PM 0
Share

I was able to reproduce the bug and issued a bug report: https://fogbugz.unity3d.com/default.asp?953062_0ciho7218hdsi0un They seem to be working on it

avatar image
0

Answer by xXLioXx · Oct 17, 2017 at 03:31 PM

Hello.

Any news ? It's critical ... :(

thx

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by UnityDev291 · Dec 16, 2017 at 06:06 PM


The following temporary hack works for me (tested with iOS 11.1.2 & 11.2.1) with Unity 5.5.5p1 (haven't tested on other Unity versions).

It appears that Keyboard.mm: UnityKeyboard_IsActive() is returning true first time around when no keyboard is active.

Open the resulting Xcode project.

Open the Keyboard.mm class under: Classes -> UI
Look for the function UnityKeyboard_IsActive() and change as follows:

 BOOL isKeyboardActive = NO;             // add new flag for first time ignore active state
 
 extern "C" int UnityKeyboard_IsActive()
 { 
     // --------------------------------
     // Add the following to return false for first time test
     //
     if( !isKeyboardActive )
     {
         isKeyboardActive = YES;
         return 0;
     }
     // --------------------------------**
 
     return (_keyboard && _keyboard.active) ? 1 : 0;
 }



See also [link text][1]
[1]: https://forum.unity.com/threads/ios-11-keyboard-not-appearing.497766/#post-3324860

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

95 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

No predictive part for french keyboard on iOS ? 0 Answers

Access to iPhone "Done" button with Unity 4.6 InputField? 0 Answers

password inputfield on iOS- keyboard type 0 Answers

[iOS] Sliding input field/keyboard question 0 Answers

Shouldn't taps on UI.InputField open Keyboard on mobile ? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges