Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • 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
0
Question by Zuntos · Jul 21, 2015 at 08:08 AM · xcodeil2cpp

il2cpp code generation issue

Hello everyone,

I'm using Unity 5.1.1p4 and have been having an issue, building for iOS (SDK 8) in a il2cpp instruction on the XCode project.

Every time I make a build, the il2cpp generates this code, in the file Build_Generics_4.cpp:

...

 NullCheck((AmazonServiceException_t400 *)(*(&V_5)));
 AmazonServiceException_set_StatusCode_m2109((AmazonServiceException_t400 *)(*(&V_5)), (int32_t)L_55, /*hidden argument*/NULL);
 Object_t * L_56 = V_5;
 il2cpp_codegen_raise_exception(L_56);

...

But by definition the method il2cpp_codegen_raise_exception has this signature:

il2cpp_codegen_raise_exception (Il2CppCodeGenException *ex)

and Il2CppCodeGenException expects a string type as input.

So every time, as a workaround, I have to convert the L_56, an integer, to string...

 std::stringstream ss;
 ss << L_56;
 std::string str;
 ss >> str;
 il2cpp_codegen_raise_exception(il2cpp_codegen_get_not_supported_exception(str.c_str()));


Do anyone have an idea of whats causing this. This looks like a il2cpp bug.

Thank you in advance

Comment
Add comment
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
1
Best Answer

Answer by JoshPeterson · Jul 21, 2015 at 10:30 AM

Yes this is a known bug in IL2CPP. It will be corrected in 5.1.2p1, which should be available this week.

Comment
Add comment · Show 1 · 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 Zuntos · Jul 21, 2015 at 10:36 AM 0
Share

Thank you for your feedback Josh.

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.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How do I change optimization setting to -O0? 0 Answers

What to do with "Undefined symbols for architecture ..." in Xcode for IL2CPP project? 0 Answers

IL2CPP Crash on OpenGL graphics device creation 2 Answers

The app is continually stopping in IOS 0 Answers

Can`t compile project in Xcode when scripting backend is set IL2CPP 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