teamcity-unity-plugin icon indicating copy to clipboard operation
teamcity-unity-plugin copied to clipboard

Support custom Unity home paths

Open dtretyakov opened this issue 6 years ago • 2 comments

Being able to force the path in the build configuration, or via an environment variable which can be adjusted on a per-config basis would be useful.

We store all our Unity installs in C:\Unity* - it'd be nice if we could get the option to change the search directory from Program Files, et al - to there.

Originally posted by @AdamFrisby in https://github.com/JetBrains/teamcity-unity-plugin/issues/6#issuecomment-461132407

dtretyakov avatar Feb 13 '19 17:02 dtretyakov

@AdamFrisby, in the latest plugin build you could specify environment variable UNITY_HINT_PATH=C:\ on your build agents to find Unity installations in C drive root folder.

Being able to force the path in the build configuration, or via an environment variable which can be adjusted on a per-config basis would be useful.

Is not enough for you to have "Unity version" parameter in the Unity build runner? image

dtretyakov avatar Feb 13 '19 18:02 dtretyakov

It generally is enough yes. The only case I can see where it wouldn't be, would be us using patch versions simultaneously (often they're buggy/unstable, but fix a bug we need for test builds)

AdamFrisby avatar Feb 13 '19 20:02 AdamFrisby

Closing as in the recent versions of the plugin, it's possible to set a custom path to Unity to be used in the build by selecting "manual" detection mode. Feel free to reopen if it doesn't work in your scenarios Screenshot 2024-06-26 at 16 55 11

lesley29 avatar Jun 26 '24 14:06 lesley29