DragonBox / u3d

U3d is a cross-platform set of tools to interact with Unity3D from command line.
MIT License
361 stars 33 forks source link

u3d doesn't recognize Unity 2018.4.32 #413

Open Duobix opened 3 years ago

Duobix commented 3 years ago

Issue Checklist

Issue Description

[DESCRIBE YOUR ISSUE HERE] I have installed Unity 2018.4.32 by the Unity Hub, then wanted to run a project with u3d, but it seems it's not recognized by u3d at all. By listing all the unity versions, every single one shows up, but not 2018.4.32 installed in Unity Hub. The version is in the same folder as other versions that are recognized by u3d, and also 2018.4.32 is listed as available for download on u3d.

mattmaniak commented 3 years ago

Same issue with 2019.4.11f1 and 2019.4.16f1.

ghost commented 2 years ago

Yes, wondering if u3d simply doesn't detect hub-installed versions?

mattmaniak commented 2 years ago

@crowder-pw it does in my case but sometimes says "no" without a reason.

lacostej commented 2 years ago

Hello, I missed this issue. On which platforms are you running u3d? On mac, when the finder indexing is running, Unity should find the versions installed by the hub. On the other platforms, we lack the code to search for the editors that hub installed.

We could for example parse ~/Library/Application\ Support/UnityHub/editors.json on Mac. If you let me know where this file is on Windows and Linux we could autodetect those installs as well.

Thanks