-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unity target support packages won't install #81
Comments
The Chocolatey install package passes the |
I hate to correct you, but the Note that if you follow the "official" process for offline install, you get a BAT file like:
where the destination is explicitly laid out (and I did not specify a destination in the process). Because the ancillary support packages have a version-matched dependency on the unity package, you should be able to do the same thing. (I don't know how the The difficult part for your unity-support packages would be identifying the path when the user has chosen a custom Hopefully, I am making sense here. 😄 |
I should add that I don't know why you can't reproduce it either. I'm testing it on a newly built Win11 system. It has other software on it of course, but it has no "history" with unity. (I did install unity-hub which I suppose could be affecting it. I'll try without it to see.) |
Describe the bug
After installing the unity package, installing unity-android or unity-win-il2cpp (Those are the two I need.) fail with a GUI window "Failed to locate Unity.exe!" and then Chocolatey reports a failure with exit code 2, "Setup was cancelled".
Expected behavior
Unity support packages will install if the dependency is installed.
Desktop (please complete the following information):
I did try rebooting in case the unity install had some variable or something necessary to be recognized. I also ran the installer with the
/S
switch manually and got the same result, so it's not directly the fault of the is package. I'm just hoping you are more knowledgeable about unity to be able to fix it. The NSIS installer does have a/D=<path>
option which probably would work, but I'm not sure how to determine which Unity directory to point it at. I also don't know if the/D
option would bypass the installer wanting the unity director defined.Let me know if I can assist.
The text was updated successfully, but these errors were encountered: