- Home /
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
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.
Answer by yanivng · Oct 19, 2017 at 10:57 AM
So I guess we should wait for the patch...
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.
There is no patch for 2017.2: https://unity3d.com/unity/qa/patch-releases?_ga=2.175890914.1345378838.1508237397-893699375.1488875584
Sorry, I was not clear. When the first 2017.2 patch release is available (which should be soon), this should be corrected.
I have the same issue for WebGL. Seems pretty crazy that building is entirely broken for 3 build types in an f3 release...
Should also note that "build[ing] a development build" yields no further information and actually returns the same error.
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.
Your answer
Follow this Question
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
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