-
-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Release mode build failure #167
Comments
Duplicate of #127 |
Xenko version: 3.0.0.5 Also the same behavior with 3.0.0.6-dev including the System.Xml.dll access error.
Comments If people can get this thing building for all of it's targets, debug + release, then the community will be a lot more motivated to help. Very little is more discouraging to someone new to a tool or API than complex and (sometimes) indecipherable Microsoft build errors. Xenko won't succeed if the only entity that can build it is an automated build system on github. |
Perhaps @migueldeicaza can offer some insight? :) |
In the last days I'm debugging this issue and I think that I find the bug. The TrackExecutablePath method runs in another thread that maintain the Exec Server alive even all tasks were done it's just close only after 600 seconds. While It's alive the Xamarin try to build the project and fails with the exception showed above. Unfortunately I do not understand all the ExecServer code to fix this issue. If someone can fix it from this informations let me know! One solution that's a find it's to change the Linking option to None in Android Project -> Properties-> Android Options -> Linker Options. |
few explanations about execserver: It's a process that stays alive to avoid full appdomain load + JIT every time we compile asset.
Maybe a game assembly is loaded differently and file is locked? If you want to skip using execserver, there is an option: Note: with recent changes happening with #12 and #58, I might have to temporarily disable (and have slightly slower compile) or revisit ExecServer at some point |
@xen2 Unfortunately even ignoring the execserver the bug still happens. I will look further after the release of version 3.1. |
@xwellingtonx Good job tracking this down! 👍 |
Release Type: Official Release
Version: 3.0.0.4
Describe the bug
Compilation failure in Android release mode
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The build should pass
Log and callstacks
build_log.txt
Additional context
Issue is not observed on Xenko version 2.1.2.1 , meaning the compilation is passing in Android/Release configuration
The text was updated successfully, but these errors were encountered: