dantasulisses / WebMobileInputFix

A Unity WebGL workaround to enable mobile input (virtual keyboard) be triggered by Input Fields
MIT License
54 stars 14 forks source link

Error every frame in log, TMP inputfield does not display #9

Open boasbakker opened 2 years ago

boasbakker commented 2 years ago

The error is: NullReferenceException: Object reference not set to an instance of an object TMPro.TextMeshProUGUI.GenerateTextMesh () (at Library/PackageCache/com.unity.textmeshpro@2.1.4/Scripts/Runtime/TMPro_UGUI_Private.cs:3623) TMPro.TextMeshProUGUI.GetTextInfo (System.String text) (at Library/PackageCache/com.unity.textmeshpro@2.1.4/Scripts/Runtime/TextMeshProUGUI.cs:568) DisableScrollBar+<g__EnumerateLines|5_0>d.MoveNext () (at Assets/Scripts/DisableScrollBar.cs:39) DisableScrollBar.Update () (at Assets/Scripts/DisableScrollBar.cs:46)

boasbakker commented 2 years ago

I am using Unity 2019.4.35f1