You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to build our Unity iOS app, but are running into an issue. We are using the UnitySetup task, which works great on a Windows MS-hosted machine. However, on MacOS it keeps complaining about not finding the Unity Hub executable.
After digging into the code, we found the following couple of lines:
// Setup and read inputs.
let unityHubExecutablePath = tl.getPathInput(customUnityHubPathInputVariableName);
if (!unityHubExecutablePath) {
// TODO: Add default paths for macOS / Linux.
unityHubExecutablePath = 'C:\\Program Files\\Unity Hub\\Unity Hub.exe';
}
We tried setting customUnityHubPath to /Applications/Unity Hub.app as this is the default location for Unity Hub on MacOS. But the pipeline fails: "Unable to locate executable file". If we understand correctly, the UnitySetup task expects Unity Hub to be installed on the machine and it's not installed on the MacOS images of Microsoft.
Is there a way (task) to download and install Unity Hub via a seperate task? We've looked into the unitysetup.powershell module, but this only lets you install the Unity Editor.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
We're trying to build our Unity iOS app, but are running into an issue. We are using the UnitySetup task, which works great on a Windows MS-hosted machine. However, on MacOS it keeps complaining about not finding the Unity Hub executable.
After digging into the code, we found the following couple of lines:
We tried setting
customUnityHubPath
to/Applications/Unity Hub.app
as this is the default location for Unity Hub on MacOS. But the pipeline fails: "Unable to locate executable file". If we understand correctly, the UnitySetup task expects Unity Hub to be installed on the machine and it's not installed on the MacOS images of Microsoft.Is there a way (task) to download and install Unity Hub via a seperate task? We've looked into the
unitysetup.powershell
module, but this only lets you install the Unity Editor.Thank you in advance.
The text was updated successfully, but these errors were encountered: