Hi,
i have tried many trial errors to find out the root cause of the issue. As mentioned the issue was when an emoji is entered at the end of text, app is getting crashed for UWP build using Unity. The following properties i’m using in Unity. (2020.3.29f1)
- Component used com.unity.textmeshPro - 3.0.6
- And there is No exception or error found in Log file generated by UnityPlayer.
- Build Type = XAML project
- Platform = Universal windows Platform.
- Target SDK = 10.0.22621.0 (latest installed)
- Architecture = x64;
I have tried following, which din’t fixed the issue.
- Updated .net SDK
- Using different .net unity API compatibility(2.x or 4.x)
- Updated Windows SDK to the latest.
- Tried in older Unity - 2019.x
- Observed issue only when emoji is entered at the end.
i.e example
- entered string = Hi Unity + emoji + hi Unity (Hi Unity(EMOJI) Hi Unity)= No CRASH, i.e when emoji is entered in between characters no crash
- entered string = Hi Unity + emoji (hi Unity(EMOJI) ) = CRASH, i.e emoji is entered at the end.
i’m suspecting something is happening while exporting project by Unity and build using Visual studio. The inputField is trying to trim out emoji entered.
The same code base with all properties everything same, works totally fine if choose platform is Standalone/Android/IOS.
So anybody facing the same issue? any solution?
Best regards,
Sushanth SV