see: https://unity.slack.com/archives/C06TQC5TK/p1685380002972049
Editing a textfield on Android and then submitting throws an exception.
Steps:
1. Create a scene with a Canvas
2. Add a TMPro Input field
3. Run the app on an Android device
4. Once the app is running on the device, focus the input field and enter some text
5. Submit
A quick investigation shows that eventData is null when TMP_InputField.OnSubmit is called.
Here is the stack
/Unity: NullReferenceException: Object reference not set to an instance of an object.
at TMPro.TMP_InputField.OnSubmit (UnityEngine.EventSystems.BaseEventData eventData) [0x0003f] in ./Library/PackageCache/com.unity.ugui@2.0.0/Runtime/TMP/TMP_InputField.cs:4438
at TMPro.TMP_InputField.LateUpdate () [0x002cb] in ./Library/PackageCache/com.unity.ugui@2.0.0/Runtime/TMP/TMP_InputField.cs:1747