Search Issue Tracker
By Design
Votes
13
Found in
2017.1.0p2
Issue ID
937035
Regression
No
TMP InputField throws an InvalidOperationException on WebGL with .NET 4.6
Steps to reproduce:
1. Open attached project "937035.zip"
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.
Notes:
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text render issues and various exceptions in TextCore when using TextSettings option "Match Material Presets"
- NullReferenceException error is thrown when unpacking multiple instances of the same UI Document
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
AmazingRuss
Dec 20, 2017 00:12
Still happening in 2017.3. This has me at a dead stop. When is the fix going in?
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.
LuckyRu
Nov 29, 2017 06:47
This line of code saved in unicode throw the exception:
" Броня".Trim();
Sgrueling
Nov 15, 2017 12:26
Confirmed for 2017.2.0p1.
rmalecki
Oct 01, 2017 18:18
Confirmed also happening with 2017.1.1f1 and TextMeshPro-1.0.55.2017.1.0b12