JetBrains / teamcity-unity-plugin

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

Installations list is unsorted thus returns "random" version and not the latest #88

Closed AntonPetrov83 closed 9 months ago

AntonPetrov83 commented 11 months ago

Here is my agent log:

[2023-10-03 13:41:27,638]   INFO - ty.detectors.UnityDetectorBase - Found: /Applications/Unity/Hub/Editor/2020.3.43f1
[2023-10-03 13:41:27,722]   INFO - ty.detectors.UnityToolProvider - Found Unity 2020.3.43 at /Applications/Unity/Hub/Editor/2020.3.43f1
[2023-10-03 13:41:27,722]   INFO - ty.detectors.UnityDetectorBase - Found: /Applications/Unity/Hub/Editor/2020.3.32f1
[2023-10-03 13:41:27,728]   INFO - ty.detectors.UnityToolProvider - Found Unity 2020.3.32 at /Applications/Unity/Hub/Editor/2020.3.32f1
[2023-10-03 13:41:27,728]   INFO - ty.detectors.UnityDetectorBase - Found: /Applications/Unity/Hub/Editor/2020.3.38f1
[2023-10-03 13:41:27,733]   INFO - ty.detectors.UnityToolProvider - Found Unity 2020.3.38 at /Applications/Unity/Hub/Editor/2020.3.38f1

For me the plugin always returns 2020.3.38f1 and not the latest 2020.3.43f1.

Would be great to pick Unity version based on ProjectSettings/ProjectVersion.txt file per project.

lesley29 commented 11 months ago

Hey @AntonPetrov83, thanks for reaching out.

It appears that there are two different tasks:

Please feel free to upvote them, and we will address them in the near future.

lesley29 commented 10 months ago

Hey @AntonPetrov83, new version has just been released. I encourage you to give it a try and let me know if it resolves the issue.