Open derwaldgeist opened 7 months ago
This issue does not seem to follow the issue template. Make sure you provide all the required information.
I tried to uninstall the 2023.3.11f1 Editor in favor of 2023.3.13f1, hoping it would pickup the Intel version, but then I got
Unity editor executable (UNITY_EXE) not found
Did some additional research. It did not find the Unity application since it stores its path in gradle.properties on first run. I don't think this is a good idea, since Unity installations tend to change often.
After I removed the content of this file, I am now getting this again:
Process 'command '/Applications/Unity/Hub/Editor/2022.3.13f1-x86_64/Unity.app/Contents/MonoBleedingEdge/bin/xbuild'' finished with non-zero exit value 1
I tried with both the Silicon and Intel versions of Unity. But both show the same problem, even if I run gradlew
with Rosetta.
I ran gradlew
again, but patched the verbosity level in line 1044 to "detailed".
This resulted in this log:
/Users/tom/dev/marble/libraries/unity-jar-resolver/source/ExternalDependencyManager.sln (VersionHandler) ->
(VersionHandler target) ->
/Users/tom/dev/marble/libraries/unity-jar-resolver/source/VersionHandler/VersionHandler.csproj (default targets) ->
/Applications/Unity/Hub/Editor/2022.3.13f1-x86_64/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
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'.
3 Warning(s)
1 Error(s)
for both the Silicon and the Intel versions of the Unity editor.
If I understand things correctly, this attribute is breaking things: https://github.com/googlesamples/unity-jar-resolver/blob/ae200afe800c179e7d24d8b5653cbe71bcd238b7/source/VersionHandler/src/VersionHandler.cs#L32
[REQUIRED] Please fill in the following fields:
[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:
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.