Search Issue Tracker

By Design



Found in


Issue ID




TMP InputField throws an InvalidOperationException on WebGL with .NET 4.6



Steps to reproduce:
1. Open attached project ""
2. Make sure that scripting runtime version is set to .NET 4.6
3. Build & run 'ReproScene' for WebGL

Actual result: TextMesh Pro's InputField throws an InvalidOperationException

InvalidOperationException: Operation is not valid due to the current state of the object.
> Rethrow as TypeInitializationException: The type initializer for 'System.Globalization.CharUnicodeInfo' threw an exception.
NullReferenceException: Object reference not set to an instance of an object.

Not reproducible with .NET 3.5 scripting runtime version
Not reproducible on Standalone(Windows), UWP(.NET/IL2CPP)

Reproducible with: 2017.1.0b1, 2017.1.0p2, 2017.2.0b5

Fixed in 2018.1.0b3

Comments (15)

  1. AmazingRuss

    Dec 20, 2017 00:12

    Still happening in 2017.3. This has me at a dead stop. When is the fix going in?

  2. AmazingRuss

    Dec 07, 2017 20:44

    Also happening in a project that doesn't have text mesh pro in it. Haven't narrowed it down to what.

  3. LuckyRu

    Nov 29, 2017 06:47

    This line of code saved in unicode throw the exception:
    " Броня".Trim();

  4. Sgrueling

    Nov 15, 2017 12:26

    Confirmed for 2017.2.0p1.

  5. rmalecki

    Oct 01, 2017 18:18

    Confirmed also happening with 2017.1.1f1 and TextMeshPro-

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.