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
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
- The type selector in the UI Builder does not display primitive types when trying to select one in the "Select Type…" window
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
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