Search Issue Tracker

Fixed in Unity 2018.3

Votes

0

Found in

2018.1.0f2

Issue ID

1034134

Regression

No

[.NET4.5] [WebGL] Build can't connect to server with System.Globalization.CharUnicodeInfo initialize error

IL2CPP

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

Reproduction steps:
1. Open the attached project.
2. Build and run it for WebGL (Use Google Chrome browser).
3. Open developer console (More Tool > Developer Tools > Console).
4. Click 'Chat'.
5. Click 'Start Sample'.

Actual behavior:
- Build can't connect to socket.io server.
- Error messages will show up in the Console:

---
blob:http://localhost:52737/fc6634fd-ef32-4c34-bca0-c250f80574f7:2 Error: Code: Internal Message: "The type initializer for 'System.Globalization.CharUnicodeInfo' threw an exception. "

(Filename: ./Runtime/Export/Debug.bindings.h Line: 43)

blob:http://localhost:52737/fc6634fd-ef32-4c34-bca0-c250f80574f7:2 Ex [PollingTransport]: ParseResponse - Message: 1: The type initializer for 'System.Globalization.CharUnicodeInfo' threw an exception.
2: Operation is not valid due to the current state of the object. at System.Globalization.GlobalizationAssembly.GetGlobalizationResourceBytePtr (System.Reflection.Assembly assembly, System.String tableName) [0x00000] in <00000000000000000000000000000000>:0 StackTrace:

(Filename: ./Runtime/Export/Debug.bindings.h Line: 43)
---

Reproduced with:
2017.2.2p4, 2017.4.3f1, 2018.1.1f1, 2018.2.0b4, 2018.3.0a1

All about bugs

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