Cake.Unity icon indicating copy to clipboard operation
Cake.Unity copied to clipboard

FindUnityEditor(s): ability to specify custom path

Open kolesnick opened this issue 6 years ago • 3 comments

kolesnick avatar Dec 13 '18 13:12 kolesnick

The same is expected for UnityEditor API as well.

kolesnick avatar Apr 01 '20 13:04 kolesnick

Have same request, wanna have an ability to specify custom unity editor folder. Screenshot 2021-06-10 at 18 42 52 Screenshot 2021-06-10 at 18 46 02 I have a couple of unity editors installed in a custom path, but cake.unity can't find it, both by version and by FindUnityEditors method. Screenshot 2021-06-10 at 18 45 16 Screenshot 2021-06-10 at 18 45 22 Screenshot 2021-06-10 at 18 42 40

natpuncher avatar Jun 10 '21 15:06 natpuncher

@kolesnick is there a way to solve Error: Failed to locate Unity Editor ? Cake log shows Search patterns: [C:/Program Files (x86)/*Unity*/*/Editor/Unity.exe, C:/Program Files (x86)/*Unity*/*/*/Editor/Unity.exe, C:/Program Files (x86)/*Unity*/*/*/*/Editor/Unity.exe] And I have an Editor in C:\Program Files\Unity\Hub\Editor I found an option to pass Editor path explicitly in UnityEditor but seems a bit not flexible solution...

IlyaBlokh avatar Mar 17 '23 11:03 IlyaBlokh