Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 yanivng · Oct 18, 2017 at 05:58 AM · android buildapkil2cppbuild error

Android build failing on 2017.2.0f3

Hi,

After upgrading from Unity 2017.1.1 to 2017.2.0f3, APK build process is broken. I am getting the following error message:

IL2CPP error for method 'System.Void System.Data.ConstraintCollection::Clear()' in assembly 'C:\Workspace\unity\NoGame\Temp\StagingArea\assets\bin\Data\Managed\System.Data.dll' Additional information: Build a development build for more information. Exception of type 'System.Exception' was thrown.

Did anyone face the same issue?

Thanks, Yaniv

Comment
Add comment · Show 3
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 JoshPeterson · Oct 18, 2017 at 11:03 AM 0
Share

I've not seen this issue before. There should be another error message after it though, can you include that here as well? It might shed some more light on the cause of the problem.

avatar image yanivng JoshPeterson · Oct 19, 2017 at 10:55 AM 0
Share

Sorry, already downgraded...

avatar image OmarVectorX · Oct 19, 2017 at 10:20 AM 0
Share

Same for me as well

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by yanivng · Oct 19, 2017 at 10:57 AM

Found this: https://issuetracker.unity3d.com/issues/ios-il2cpp-il2cpp-error-for-method-system-dot-void-system-dot-data-dot-constraintcollection-clear-crashes-whiled-building-for-ios

So I guess we should wait for the patch...

Comment
Add comment · Show 15 · 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 JoshPeterson · Oct 19, 2017 at 11:00 AM 0
Share

Ahh yes, I'm sorry, I forgot about this bug report. Check out the first 2017.2 patch release, I believe the issue will be corrected in that release.

avatar image yanivng JoshPeterson · Oct 19, 2017 at 03:00 PM 0
Share

There is no patch for 2017.2: https://unity3d.com/unity/qa/patch-releases?_ga=2.175890914.1345378838.1508237397-893699375.1488875584

avatar image JoshPeterson yanivng · Oct 19, 2017 at 03:13 PM 0
Share

Sorry, I was not clear. When the first 2017.2 patch release is available (which should be soon), this should be corrected.

Show more comments
avatar image ahokinson · Oct 19, 2017 at 02:15 PM 0
Share

I have the same issue for WebGL. Seems pretty crazy that building is entirely broken for 3 build types in an f3 release...

avatar image ahokinson · Oct 19, 2017 at 02:17 PM 0
Share

Should also note that "build[ing] a development build" yields no further information and actually returns the same error.

avatar image
0

Answer by Xanatos_88 · Dec 12, 2017 at 04:45 PM

There was a patch release that fixed this problem. It was the 2nd patch when they fixed the bug.

https://unity3d.com/unity/qa/patch-releases?_ga=2.86686232.1835383191.1513011118-1299436259.1468001661&page=2

Comment
Add comment · 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

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

75 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

HELP!! Failed running il2cpp.exe, can't build apk for google play 3 Answers

How to fix build errors when building as APK 1 Answer

Installation failed with the following output: pkg: /data/local/tmp/Package.apk Failure [INSTALL_CANCELED_BY_USER] 1 Answer

Has anyone downloaded and loaded .so files manually with any soLoader, to reduce the apk size? 0 Answers

Android APK Build Failing "Execution failed for task ':launcher:checkReleaseDuplicateClasses'." 5 Answers


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