• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by Aoneglobal · May 08, 2015 at 01:17 PM · iosil2cpp64bitencoding

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)

Comment
flashmandv

People who like this

1 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image

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.

Comment
Aoneglobal

People who like this

1 Show 17 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image isicz · May 12, 2015 at 05:52 PM 0
Share

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::GetManifestResourceInfoInternal - "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.

avatar image JoshPeterson · May 12, 2015 at 05:56 PM 0
Share

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.

avatar image isicz · May 12, 2015 at 07:14 PM 0
Share

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?

avatar image JoshPeterson · May 12, 2015 at 07:29 PM 0
Share

You are correct, the implementation of embedded resources has not made the beta builds yet.

avatar image isicz · May 12, 2015 at 08:06 PM 0
Share

Alright, I'll be keeping an eye out for it. Thanks for the quick replies!

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges