Validation always fails and only on PC, admin not helping, my cmd not corrupted

It just never prompts me (even with default UAC) to run a cmd that launch .exe (so i never see the verification window, which runs its %), nor when i install editors, nor when i install modules, in the end i cancel and lose the downloaded thing, can you at least make the Hub, NOT delete the files, please, if i want so? (when you get this after downloading a whole editor - it is even more idiotic)

On laptop everything is okay, maybe the latest version of Win 10 is more buggy with the Hub? It was working before, i downloaded 6000.x.x version without a prob on a PC too.

Assumptions:

  1. Maybe because the default cmd is always not in admin mode if you dont open an admin one through win search is the case? I dont know.

  2. Maybe because damn Visual Studio installed Powershells it is messing with something? (Win + X have Powershells instead of cmd’s)

Sad to delete old text, but just look at solution now, it is more polished and now covers all the nitpicks of manual installations
(Except this: here is the page with editors and components (modules). Press See all under Downloads column:

info about 2022.2 one, it doesn’t return Add modules button, even if changed the Installs path, removing the redundant (by default) “Unity” in its root name not helps too.

the verification is not a command window, it is a crc check I believe, so its saying the download is corrupted. Have you added it manually? https://download.unity3d.com/download_unity/4859ab7b5a49/TargetSupportInstaller/UnitySetup-Linux-IL2CPP-Support-for-Editor-6000.0.25f1.exe

im talking about a “yes” “no” window appears, then you have a cmd that quickly closes, then you see a white window with black text of verification %'s, in editor install case at least

never seen a window with yes/no in it.

i updated the description i probably did the manual way but a crutch one and with mono not il2cpp

this kind of thing appears when you first time install hub and install an editor:


i meant this and then a window with verifications percents run

Ah, I turn acl off, cos its just annoying :smiley:

to be honest i dont get what is the point of this validation non-sense if it is possible to install manually? Just compiled the damn linux build after a manual install of the SAME EXE which was downloaded even when it gives validation failed, you just need to find it in temp downloads and INSTALL MANUALLY

The only damn robust solution, or just really download it from web instead of the infamous hub which to this day gives headache to people! Gonna post the manual solution to the guy from other topic or just put it there for those for whom nothing in that admin other crap helping.

That should also show up when you install an editor. But it will only show until after the download completes, and if you’re not around to confirm the result will be “Validation failed”. If that happens, simply try clicking the loop arrow button (retry) then the UAC prompt should pop up instantly.

Also make sure you don’t “run as administrator” neither the Hub installer nor the Hub itself.

What does constitute a “clean” install?

The correct way would be to uninstall the Hub, preferably all editors before. Then go to AppData and remove all “Unity” labeled folders in all three subfolders. And you may want to delete the “Unity” install folders under Program Files. Then you can call it a “clean” install.

no it doesnt work in my case i was on place and seen none my uac was default i disabled it completely to “not notify” maybe this is also a solution but probably not, anyways usually it is waste of time to confirm things

I’m really worried when people just disable UAC because the prompts are annoying. That prompt is all you have in the way between you and accidentally installing a malware. Particularly the kind where some program suddenly wants to “install itself” without you giving any instructions.

1 Like

yeah the gpt too say so but till this day there was zero like "oh no this is probably malware, i am pressing “no”

p.s.
though i wouldn’t do such turn off on a machine with sensitive info or NDA files

depends on what you download from where tbh


btw it seems it is always no add modules button when you manually locate, as with this one i didn’t had the manual install shenanigan.

just for experiment the most lightweight editor, did the almost clean reinstall (it welcomed me as if it was fresh) do stuff and the uac full no notify, nope:

Here is the only thing which i didn’t delete before clean reinstall, but that is from hub 3.x stuff version and doesn’t have any connection, the editor in it is deleted btw (only 50mb in it):
image

For my “clean” reinstall (which still not fixing issue) i did this:

  1. deleted the hub through* its uninstaller
  2. C:\Program Files\Unity Hub (or wherever you installed the Hub)
    C:\Program Files\Unity\Hub (This is where the Hub stores its own version of node)
    %appdata%\UnityHub (copy and paste this into File Explorer’s address bar)
    %localappdata%\UnityHub (copy and paste this into File Explorer’s address bar)
    %ProgramData%\Unity (This folder contains shared Unity data and might have Hub-related files)
  3. downloaded latest hub 3.11.1 setup


oh well it seems i did run the setup in admin lol, but isn’t it is by default like that after you download it (like most installers)?
(and the hub itself runs in default, as it gives those warnings “oh no please no admin”)

Anyways even if i did change it to this way (i replaced this one with newer setup, dunno does admin setting saves in this case) that is because of damn validation failed, i really dont get what is the point of validation if when you sign off, editor closes anyways, even if you located it manually and installed modules manually…

Tried this way with editor and it VERIFIES, wtf, seems Hub just doesn’t want to open .exe’s by its own:
image

in editor case (modules is also .exe) i did this:

  1. C:\Users\You\AppData\Local\Temp\

  2. Type in search “.exe” (more robust than to find by temp path, as it can change)
    image

  3. Install the .exe of editor or the module, it will have an appropriate name.
    image

  4. Locate it in Hub - Installs
    image
    image

  5. Enjoy your manually verified day. (you can also download setups from official web and don’t care)

(Module? Skip last two steps, as when installing a module it will ask to where (which editor), no need to locate it)

Fix of add modules button:
(Preferences - Installs - Install location (change to folder of editors), still need to find .exe in temp)


You can change temp folder in prefs too (though it will still delete on cancel?):

(showing off Hub sees it as installed):
image
image
(linux module case after hub re-launch):


(module link sample):
https://download.unity3d.com/download_unity/4859ab7b5a49/TargetSupportInstaller/UnitySetup-Linux-IL2CPP-Support-for-Editor-6000.0.25f1.exe

What most fail to understand is the difference between “run as administrator” and running as the regular user and responding to the UAC prompt.

If you install software by running the installer as administrator, you are effectively installing the software for the Administrator user! Usually this works but it may leave the program unusable because the software may have stored settings under the Administrator account folders, which are inaccessible to a regular user account. Or the program may have created additional folders/files outside of Program Files whose owner is now the Administrator account, again possibly disallowing regular user accounts from writing to or executing files.

If you run an installer under your regular user account, the UAC prompt will appear when the installer requires it, which provides the current regular user account the temporary privilege to make the necessary changes to the system as if that user had administrator rights. Everything gets installed under and to the regular user account however, so that the regular user account can use the software as intended.

So it’s a really bad habit or bad advice shared by some users that “run as administrator” is solving anything. Most people having issues with their system, like you do, are probably simply too lax in their use of “run as administrator”. Eventually the system or rather the software you have installed is so intermixed between your user account and Administrator that things will only end up working when using full admin rights. It’s a problem that compounds over time.

Rule of thumb: never “run as administrator” anything UNLESS specifically instructed to do so! :wink:

but i have only one account and its admin (just trying to do personal stuff), so probably no issue here from that in this case, also it did work some time even with such setup (?), so something is both wrong with Windows and the Hub.

Even if admin setup ruined something i probably deleted all that %appdata% %programdata% stuff, and did an install again (setup was still admin, but i replaced it with newer from Unity site). Result - the train still goes boom.

And. I still don’t understand what is validation for, i guess Hub just called the UAC prompt this way or something.

(by the way in the manual install you can see the process of how much is unpacked already, while hub is just spinning circle, Hub is indeed an idiotic thing, no matter people have issues with it, why literally everything else have no such download and install problems? That is right, because Hub is crap, imho. No offense. (Also it can have issues validating even if it’s working, from time to time)

And cherry on the cake if you didn’t break 10 sweats that it is possible to just do manual install even from temp folder when it fails: You lose all the gigabytes you downloaded and spent resources for NOTHING (that would be very frustrating for people which just want to press and install, without all that advanced user crap, if they use mobile data for this) )

(btw, reminding, installed an editor on laptop - everything is fine there, even seen the console run and close quickly to launch the .exe i guess)