-
Notifications
You must be signed in to change notification settings - Fork 352
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
[Question] How to build from source #658
Comments
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
|
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:
I tried with both the Silicon and Intel versions of Unity. But both show the same problem, even if I run |
I ran 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:
|
[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.
The text was updated successfully, but these errors were encountered: