I am not sure if this is Unity problem or not, but I can highly suspect it so I will write it down.
When I build using il2cpp (windows pc, not UWP) I get the following error :
Failed running C:\Program Files\Unity\Hub\Editor\2020.2.0b5\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --useprebuiltbuildprogram
stdout:
[32m[[32m [32m] [0mRequire frontend run. artifacts\tundra.dag.json does not exist yet
[ 0s] Executed build program. Created build graph with 2 nodes.
[32m[[32m 0s[32m] [0mFreezing tundra.dag.json into .dag (.dag file didnāt exist)
[91m*** Bee build failed (0.06 seconds), 0 items updated, 2 evaluated[0m
stderr:
UnityEngine.Debug:LogError (object)
UnityEditorInternal.Runner:RunProgram (UnityEditor.Utils.Program,string,string,string,UnityEditor.Scripting.Compilers.CompilerOutputParserBase)
UnityEditorInternal.Runner:RunManagedProgram (string,string,string,UnityEditor.Scripting.Compilers.CompilerOutputParserBase,System.Action1<System.Diagnostics.ProcessStartInfo>) UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments (System.Collections.Generic.List
1,System.Action1<System.Diagnostics.ProcessStartInfo>) UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData,string,bool) UnityEditorInternal.IL2CPPBuilder:Run () UnityEditorInternal.IL2CPPUtils:RunIl2Cpp (string,UnityEditorInternal.IIl2CppPlatformProvider,System.Action
1,UnityEditor.RuntimeClassRegistry)
DesktopStandalonePostProcessor:RunIL2CPP (UnityEditor.Modules.BuildPostProcessArgs,UnityEditorInternal.IIl2CppPlatformProvider,System.Collections.Generic.List1<string>) DesktopStandalonePostProcessor:SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs,System.Collections.Generic.HashSet
1)
DesktopStandalonePostProcessor:postProcess (UnityEditor.Modules.BuildPostProcessArgs)
UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
Now, the same empty project does build fine using Mono.
The same empty project does build with Il2cpp using Unity 2019.4 version.
All of the tests are run on the same PC.
I donāt even know if it is worth while to send repo bug report, because, well, the project is simply empty. I have created a brand new project and just attempted to build.
Since Unity 2019.4 builds fine with il2cpp, I am more leaning towards that it could not be the setting on my pc.
Using Visual Studio 2019. 16.7.5
Unity 2020.2 b5
Any ideas?