Open
Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2023.3.11f1
- External Dependency Manager version: 1.2.177
- Platform you are using the Unity editor on: Mac with Silicon chip
[REQUIRED] Please describe the question here:
I am trying to build the project from source. I installed JDK 11 on my Mac, since I realized that the Gradle version required was not working with a newer JDK.
However, I am still running into an error:
> Configure project :
Mono 6.13.0 detected which will generate .pdb files that are not compatible with older versions of Unity. This can be fixed by compiling with Unity 5.6.
> Task :compileVersionHandler FAILED
>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
XBuild Engine Version 4.0
Mono, Version 6.13.0.0
Copyright (C) 2005-2013 Various Mono authors
/Users/tom/dev/marble/libraries/unity-jar-resolver/source/ExternalDependencyManager.sln: warning : Project file /Users/tom/dev/marble/libraries/unity-jar-resolver/source/JarResolverTests/JarResolverTests.csproj referenced in the solution file, not found. Ignoring.
/Users/tom/dev/marble/libraries/unity-jar-resolver/source/ExternalDependencyManager.sln: warning : Project file /Users/tom/dev/marble/libraries/unity-jar-resolver/source/VersionHandlerImpl/unit_tests/VersionHandlerImplTests.csproj referenced in the solution file, not found. Ignoring.
/Users/tom/dev/marble/libraries/unity-jar-resolver/source/ExternalDependencyManager.sln: warning : Project file /Users/tom/dev/marble/libraries/unity-jar-resolver/source/PackageManagerResolver/unit_tests/PackageManagerResolverTests.csproj referenced in the solution file, not found. Ignoring.
src/VersionHandler.cs(32,2): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/tom/dev/marble/libraries/unity-jar-resolver/build.gradle' line: 1030
* What went wrong:
Execution failed for task ':compileVersionHandler'.
> Process 'command '/Applications/Unity/Hub/Editor/2022.3.11f1/Unity.app/Contents/MonoBleedingEdge/bin/xbuild'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Note that this Unity Editor version is an Apple Silicon build. It seems as if the build script is using the first Editor it can find.