- Home /
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)
Answer by JoshPeterson · May 11, 2015 at 01:07 PM
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.
I've been getting the same "NotSupportedException: /Users/builduser/buildslave/unity/build/Tools/il2cpp/il2cpp/libil2cpp/icalls/mscorlib/System.Reflection/Assembly.cpp(362) : Unsupported internal call for IL2CPP:Assembly::Get$$anonymous$$anifestResourceInfoInternal - "This icall is not supported by il2cpp." error and aren't entirely sure what to do about it.
Josh, I don't fully understand your response. You say that the issue is that embedded resources aren't supported yet, but then you say that with 5.0.2p1 they are supported. I don't follow.
Embedded resources are not supported in the latest 5.0 patch release of Unity, which is 5.0.1p4. When the next patch release (5.0.2p1) comes out, it will have support for embedded resources. This problem should then be corrected. I expect that 5.0.2p1 will be ready some time this week.
Oh I see. I've been trying to run this on the latest beta - that beta build doesn't have it yet either then, I'm guessing?
You are correct, the implementation of embedded resources has not made the beta builds yet.
Alright, I'll be keeping an eye out for it. Thanks for the quick replies!
Your answer
Follow this Question
Related Questions
Unity www class crashes on iOS 64 bit 2 Answers
IL2CPP Build error with enum or coroutine. 0 Answers
iOS 64 bit support problem 1 Answer
some iOS devices took more memory about 200%!! 1 Answer
64 bit build iOS in Unity free 1 Answer