I have an inquiry about an error when building via "il2cpp" for iOS(64bit) supporting.

I have an inquiry about an error when building via “il2cpp” for iOS(64bit) supporting.

In detail, I’m using “EUC_KR” for character set and encoding which involving “I18N.CJK.DLL”

But it doesn’t work correctly and I can’t figure out why this things happens.

Using “UTF-8” right now instead of “EUC_KR” is impossible because the current game server is using “EUC_KR” & it’s in service now.

The error is as follows.

I’d be happy if you let me know how to deal with this problem.

—————————— Follows ——————————

NotSupportedException: /Users/builduser/buildslave/unity/build/Tools/il2cpp/il2cpp/libil2cpp/icalls/mscorlib/System.Reflection/Assembly.cpp(362) : Unsupported internal call for IL2CPP:Assembly::GetManifestResourceInfoInternal - “This icall is not supported by il2cpp.”

at System.Reflection.Assembly.GetManifestResourceInfoInternal (System.String name, System.Reflection.ManifestResourceInfo info) [0x00000] in :0

at System.Reflection.Assembly.GetManifestResourceInfo (System.String resourceName) [0x00000] in :0

at System.Reflection.Emit.ILGenerator.MarkLabel (Label loc) [0x00000] in :0

at System.Reflection.Assembly.GetManifestResourceStream (System.String name) [0x00000] in :0

at …ctor () [0x00000] in :0

at I18N.CJK.CodeTable…ctor (System.String name) [0x00000] in :0

at I18N.CJK.DbcsConvert…ctor (System.String fileName) [0x00000] in :0

at I18N.CJK.DbcsConvert…cctor () [0x00000] in :0

at System.Array+InternalEnumerator`1[System.UInt32].get_Current () [0x00000] in :0

at I18N.CJK.KoreanEncoding.GetConvert () [0x00000] in :0

at …ctor () [0x00000] in :0

at I18N.CJK.KoreanEncoding.GetDecoder () [0x00000] in :0

at …ctor () [0x00000] in :0

at I18N.CJK.KoreanEncoding.GetCharCount (System.Byte bytes, Int32 index, Int32 count) [0x00000] in :0

at System.Collections.ArrayList+FixedSizeArrayListWrapper.RemoveRange (Int32 index, Int32 count) [0x00000] in :0

at System.Text.Encoding.GetChars (System.Byte bytes, Int32 index, Int32 count) [0x00000] in :0

at Mono.Data.SqlExpressions.BinaryExpression.ResetExpression () [0x00000] in :0

at System.Text.Encoding.GetString (System.Byte bytes, Int32 index, Int32 count) [0x00000] in :0

at System.Collections.ArrayList+FixedSizeArrayListWrapper.RemoveRange (Int32 index, Int32 count) [0x00000] in :0

at System.Text.Encoding.GetString (System.Byte bytes) [0x00000] in :0

at Mono.Globalization.Unicode.NormalizationTableUtil…cctor () [0x00000] in :0

at LoginManager.PacketACK (System.Byte _receive) [0x00000] in :0

at LoginManager+c__AnonStoreyB4.<>m__61 (Int32 state, System.Byte data) [0x00000] in :0

at SocketCallback.Invoke (Int32 state, System.Byte data) [0x00000] in :0

at _FRIEND_GET_ACK…ctor () [0x00000] in :0

at MySocket+c__Iterator53.MoveNext () [0x00000] in :0

at System.Array+InternalEnumerator`1[System.UInt32].get_Current () [0x00000] in :0

Rethrow as TypeInitializationException: The type initializer for ‘I18N.CJK.DbcsConvert’ threw an exception.

at I18N.CJK.KoreanEncoding.GetConvert () [0x00000] in :0

at …ctor () [0x00000] in :0

at I18N.CJK.KoreanEncoding.GetDecoder () [0x00000] in :0

at …ctor () [0x00000] in :0

at I18N.CJK.KoreanEncoding.GetCharCount (System.Byte bytes, Int32 index, Int32 count) [0x00000] in :0

at System.Collections.ArrayList+FixedSizeArrayListWrapper.RemoveRange (Int32 index, Int32 count) [0x00000] in :0

at System.Text.Encoding.GetChars (System.Byte bytes, Int32 index, Int32 count) [0x00000] in :0

at Mono.Data.SqlExpressions.BinaryExpression.ResetExpression () [0x00000] in :0

at System.Text.Encoding.GetString (System.Byte bytes, Int32 index, Int32 count) [0x00000] in :0

at System.Collections.ArrayList+FixedSizeArrayListWrapper.RemoveRange (Int32 index, Int32 count) [0x00000] in :0

at System.Text.Encoding.GetString (System.Byte bytes) [0x00000] in :0

at Mono.Globalization.Unicode.NormalizationTableUtil…cctor () [0x00000] in :0

at LoginManager.PacketACK (System.Byte _receive) [0x00000] in :0

at LoginManager+c__AnonStoreyB4.<>m__61 (Int32 state, System.Byte data) [0x00000] in :0

at SocketCallback.Invoke (Int32 state, System.Byte data) [0x00000] in :0

at _FRIEND_GET_ACK…ctor () [0x00000] in :0

at MySocket+c__Iterator53.MoveNext () [0x00000] in :0

at System.Array+InternalEnumerator`1[System.UInt32].get_Current () [0x00000] in :0

System.InternalEnumerator`1:get_Current()

(Filename: currently not available on il2cpp Line: -1)

So far, we have not implemented support for embedded resources in IL2CPP (the missing GetManifestResourceInfoInternal implementation in this error message). The Mono mscorlib.dll assembly uses embedded resources for some localization APIs, like this one. With versions 4.6.5p2 and 5.0.2p1 of Unity, we’ve added support for embedded resources, so this should work.