- Home /
iOS crash when dismissing system keyboard
this seems like it may have been introduced in unity updates. we're on unity 5.3.3f1.
when the iOS system keyboard is dismissed (via hide, cancel, or done), the app crashes.
the log has this:
SpringBoard[3142] <Warning>: HW kbd: Failed to set (null) as keyboard focus
SpringBoard[3142] <Warning>: UNNotificationRegistrarConnectionListener connection invalidated
Comment
Best Answer
Answer by elenzil · Jun 23, 2016 at 06:04 PM
this turned out to be a bug in the textmeshpro TMP-inputfield class we were using.
this line needs a null-check:
caretRectTrans.localPosition = Vector3.zero;
Your answer
![](https://koobas.hobune.stream/wayback/20220612083533im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity 5.6.5p2 Crash when iOS10 using keyboard 2 Answers
Using the IOS Keyboard 2 Answers
Interlocked methods crashing with IL2CPP 3 Answers
iOS build of game crashes on splash screen after a few days 3 Answers
WWW IOS Crash 0 Answers