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
- NullReferenceException is thrown when assigning an Object to a custom DebugUI.ObjectField in Rendering Debugger
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
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