Failed to locate Unity.exe?
Asked Answered
U

6

0

Hello I tried to install Android Support for Unity. But I keep getting this error:

Failed To Locate Unity.Exe

Any help please, I have a project :frowning:
Thanks in advance

Ultimogeniture answered 27/2, 2024 at 8:47 Comment(2)

I had this problem too. Resolved choosing Unity root folder. I really don't understand why it let me choose the destination folder

Creaky

It is not working for me

Binary
A
0

@Ultimogeniture

TL;DR: Solution:

  • Select Unity’s install folder
    (e.g. C:\Program Files\Unity )

I had this problem too. I assumed because it asked me to select a Destination folder that I should do just that, but what it actually wants is Unity’s root folder.

Examples:

  • Error reproduced by selecting: C:\Program Files\UnityAndroid
    (A folder I made to install it into)
  • Error solved by selecting: C:\Program Files\Unity
    (Where I originally installed Unity)
Avalanche answered 27/2, 2024 at 8:52 Comment(5)

Thanks A lot :)

Ultimogeniture

Didn't work :( Im going crazy because this is the only thread where I've seen this problem brought up

Marsden

I have the same Problem but this solution didn`t work in my case does anyone can help me?

Acetometer

This worked when installing an iOS module on an old Unity installation (5.4.2f2) we have too!

Mumps

You appear to be rotating by 180 degrees about the y axis and inverting the local x scale - I would have thought that either one of these would achieve what you're after, but doing both cancel each other out: transform.localScale = new Vector3(transform.localScale.x * -1, transform.localScale.y, transform.localScale.z); anim.transform.Rotate(new Vector3(0, 180, 0));

Indulge
S
0

I had the same problem but now because I’m using Unity Hub, so I believe a lot of people may come here and the solution of this ticket will not help, so I’m posting how to solve this problem if you have Unity Hub.

  1. Open Unity Hub and find the version you want to install the Support, in my case WebGL support

  2. Then find the support lib and add the component to this Unity version

  3. Then finally you wait, there’s no progress but there’s a indication of installing component on the place of the 3 dots, once it disappears it means component installed.

Splanchnology answered 6/6, 2023 at 4:15 Comment(0)
N
0

If you have Unity-Hub then go to C:/Program Files/ Unity/Hub/Editor/_Unity_version_folder_

Unity version folder is 2018-3.10f1 for example.

Cheers

Nereidanereids answered 27/2, 2024 at 8:55 Comment(3)

This. For for instance Vuforia upgrade .exe file.

Emprise

This works :)

Athabaska

Funny that I am still facing the same issue :/

Programme
C
0

I had this problem too. Resolved choosing Unity root folder. I really don’t understand why it let me choose the destination folder

Creaky answered 5/6, 2020 at 10:15 Comment(0)
A
0

The installer expects the folder structure inside the unity root folder to be a certain way. If none of the other solutions work for you check this as well.

My folder structure looked like this:

\Program Files\Unity\Editor\2020.3.1f1\Unity.exe

But what the installer is expecting is that you have a folder structure where after the version directory there’s an Editor subdirectory inside which the unity exe is located, so changing my path to the following fixed it for me:

\Program Files\Unity\Editor\2020.3.1f1\Editor\Unity.exe

Assuntaassur answered 2/2, 2024 at 10:23 Comment(1)

that's work, thanks

Nyaya
A
0

This path worked for me finally: C:\Program Files\Unity\Hub\Editor\2022.3.9f1

Alluvium answered 27/2, 2024 at 8:55 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.