JetBrains / teamcity-unity-plugin

TeamCity plugin supports building Unity projects
Apache License 2.0
81 stars 38 forks source link

Incorrect Unity discovery on Linux #47

Closed citizenmatt closed 3 years ago

citizenmatt commented 4 years ago

The current Linux discovery tries to look at $UNITY_ROOT/Editor/Data/PackageManager/Unity/PackageManager to find the version, but this path doesn't exist, and discovery fails. AFAICT, there is no reliable way to get the current Unity version, other than parsing the name of the containing folder.

reapazor commented 4 years ago

I'm with him, use the path of the root to get it - /home/user/Unity/Hub/Editor/version/

PR https://github.com/JetBrains/teamcity-unity-plugin/pull/48

hikk commented 4 years ago

the same