Hello,
I am having an issue with build to android 64-bit
Exception: X\Hub\Editor\2019.2.21f1\Editor\Data\il2cpp\build/UnityLinker.exe did not run properly!
all the settings are setup for 64-bit android but always get this error when building
This doesn’t work in a build script or normal build settings
any help would be appreciated
Unity Version : 2019.2.21f1
dean-ivre:
Hello,
I am having an issue with build to android 64-bit
Exception: X\Hub\Editor\2019.2.21f1\Editor\Data\il2cpp\build/UnityLinker.exe did not run properly!
all the settings are setup for 64-bit android but always get this error when building
This doesn’t work in a build script or normal build settings
any help would be appreciated
Unity Version : 2019.2.21f1
Can you provide the full error message from the editor log file?
dean-ivre:
Thanks
This looks like the same issue reported here: https://discussions.unity.com/t/741481
It seems that updating all packages in the package manager corrected this for a few users.
perfect I will try and sync assemblies again by re-importing the plugins
Thanks
Now having an issue with building now
Win32Exception: ApplicationName=‘C:\Program Files\Unity\Hub\Editor\2019.2.21f1\Editor\Data\il2cpp/build/il2cpp.exe’
Any suggestions
Thanks
6192438–679080–win32error.txt (5.39 KB)
Can you make sure the latest version of .NET Framework (version 4.8.1) is installed on this computer? The Unity installer should handle that, but we’ve seen a few cases where that did not happen, and could cause this error.
Hi Josh,
I have the .net installed on my machine and still get the same error
Is Unity installed as an administrator, or a different user account from the one you are using to run Unity? That might also cause this issue.
Hey Josh, still having issues with linker.xml for android builds
trying to build android
il2cpp
.net 4
I have tried
Deleting the library
Deleted metadata
Uninstalled/Reinstalled
Rebooted pc
I opened unity as admin
reimported all assets
deleted temp files
.net framework is version 4.8.1
Thank you
D
6254583–689688–linker_error2.txt (12.9 KB)
dean-ivre:
Hey Josh, still having issues with linker.xml for android builds
trying to build android
il2cpp
.net 4
I have tried
Deleting the library
Deleted metadata
Uninstalled/Reinstalled
Rebooted pc
I opened unity as admin
reimported all assets
deleted temp files
.net framework is version 4.8.1
Thank you
D
I’ll suggest two more things to try:
First, try to build an empty project - I suspect that it will work, as this error looks to be project-specific.
Second, try to re-import all assemblies in the project where this error occurs. I’ve seen similar errors when the API updater does not properly modify assemblies. You end up with assemblies that are built against the wrong version of an API, and the UnityLinker is the first to notice this, as it has to statically visit all of the code in those assemblies.
Hi Josh,
I have tried building the new empty project and this also did not work. I get the same error.
How do I re-import all the assemblies in the project.
Thank you
To re-import all assemblies, right click the Project tab of the editor and choose the “Reimport All” option.
Yeah I have tried that but still not working
Thanks
I’m not sure then, sorry. I’m surprised this happens with an empty project. Maybe try Unity 2019.4?
I was able to build 2 days ago and all of a sudden it will not build