I’m getting this error when I try to download Unity – this happened on Hub 0.12.0 and now on 0.13.0 as well. It seems to happen when I’m trying to download Unity with many components at the same time (Android, iOS, Mac, Linux, &c plugins). If I reduce the number of components I’m trying to download, it seems to complete normally.
Yeah I keep getting this error for all downloads and not just 2018.1b8, But I’ve tried installing it without components and I get the same error
Hi there,
Thank you for your feedback.
It would be great if you can share your log files with us. You can send a direct message to me.
Logs are here:
Windows: %UserProfile%\AppData\Roaming\UnityHub\logs
Mac: ~/Library/Application support/UnityHub/logs
It helps us to investigate the issue, and resolve it in future updates
Managed to get it working after the OP, but if it happens again I’ll post here.
Does the solution is suggested in this thread help you?
It would be helpful if you posted how you managed to get it working.
That’s what got it working in the end, but I don’t think that addresses the underlying issue.
I think I found the source of the problem:
- I tried to download the beta 2018.1.0b9 with default checkboxes: failed (corrupted files)
- I tried to download the beta 2018.1.0b9 with all checkboxes unchecked: succeeded.
- I tried to add the standard assets using the “Add Component” button: failed (corrupted files)
- I tried to download any other version with default checkboxes: succeeded.
So I’m 99% sure it comes from the Standard Assets of the Beta version.
I found no logs in AppData/UnityHub, it seems no log file was created.
Thanks for sharing what you observed.
I will transfer your finding to the team.
Thanks,
Afshin
Hi, I’m attempting to download the latest beta and hitting this same error. Tried all combinations of unchecking components etc. tried beta 2018.1.0b9, b10 and b11
Any eta when this problem will be fixed?
Hi winterkewl,
I cannot give you an eta at this time, but we are working on it right now. Sorry for the inconvenience.
can’t download … info-log.json
{“moduleName”:“EditorDownloader”,“level”:“info”,“message”:“Editor Download 2018.2.0b1: downloads starting, total size: 574.80MB)”,“timestamp”:“2018-04-22T19:20:02.786Z”}
{“level”:“warn”,“message”:“Uncaught exception, reason: self.callback is not a function\n\tstack TypeError: self.callback is not a function\n at C:\Program Files\Unity Hub\resources\app.asar\node_modules\zeltice-mt-downloader\lib\core\DownloadWriterAsyncTask.js:14:9\n at FSReqWrap.wrapper [as oncomplete] (fs.js:691:5)”,“timestamp”:“2018-04-22T19:23:49.205Z”}
This is insane!
In Mac, I got the same error.
Then, I try to change the owner of the Unity Hub app.
(terminal command in Application folder)
sudo chown root Unity\ Hub.app/
It works. I think it might be permission issue on mac.
Hope this help~
So you just navigate to the Unity Hub in the terminal, and then add the chownroot command…?
yep, in the application folder, you can give the command.
This fixed it for me.
Before: It would download and then give me the “incomplete or corrupted download file” error.
After running sudo chown root: successful install!
Hi Ethan and augustinus,
Sorry that you both have to rely on a command line permission changes to workaround this problem.
Can you either of you please share some details on the setup of your macOS user accounts? Are you login in with an account that has Administrator or standard privileges and/or a managed account?
Thanks
Daniel
I had a similar problem on my Windows 10 System. UnityHub installed itself on C: drive - I have my applications on E: drive so it would be great if there was a way, or a more visible way of changing the installation path of the Hub application itself.
I initially tried installing 2017.4.1f1 with Editor, Mono, Standard Assets, Windows Store ( both) and WebGL options but failed several times. So turned off all but Editor and it worked fine. Will update with more if I get errors when I try to update.
Edit:
Added each component one at a time after the editor and there were no more problems.
I log in as an administrator
MacOS 10.12.6
before chown:
drwxr-xr-x@ 3 ethan admin 102 Apr 17 13:25 Unity Hub.app
after chown:
drwxr-xr-x@ 3 root admin 102 Apr 17 13:25 Unity Hub.app