Hiya everyone. The cloning process is taking a really long time. I’ve been waiting for 6 hours, it stopped twice and I had to start over both times. Is this normal? How long does it normally take?
cloning… the engine source tree? from github?
i think last time i did that it took about an hour, at 100mbps…
If you are cloning a project it’s creating a copy of the project folder. Are there any unused assets you can remove to slim down the folder-size?
I’ve had it take ~10min on the same drive (M2) but that was ~12gig folder size.
Given it stopped that makes my “do you have enough space?” alarm go off. My gut tells me this isn’t the launcher but might be a system (capacity?) issue?
My guess is that:
- You’re cloning the Unreal source code from github
2a) You’re doing this from a location that is not in the US
or
2b) You’re doing this over an otherwise high latency connection (like satellite or mobile internet, or low-bandwidth connections.)
If this is true, then the problem is likely that high latency leads to slow TCP transfers from the github servers. Given that the GitHub servers are on the US west coast, you may actually get better overall performance if you do:
- Start an Amazon AWS EC2 instance with enough EBS disk space for the engine (100 GB should be enough for engine and OS.) It can run Amazon Linux or Ubuntu. It only needs command line, no GUI. Run this instance in a west coast region, like us-west-1 or us-west-2.
- SSH into that instance using your favorite terminal and SSH client (putty is good on Windows) and forward your SSH key through that connection (so GitHub can still know who you are.)
- On that instance, “git clone” to pull the source
- Then, on your home machine, do an “rsync -ahv” from the EC2 instance to your home machine. rsync is better than git at managing high-latency connections, and thus the overall transfer time will likely be faster.
Another option is to clone with --depth 1
and --single-branch
to transfer less data.
Yea sadly I’m on 1 mbps internet, there’s not much I can do about it where I live. Also sorry for not clarifying yes I meant cloning the engine source tree.
No frankly I think the main issue is that I’m not from the US and my internet is slower than a drunk turtle.
I’m on a Mac so I’ll definitely try what you suggested primarily and I’ll try to see what works. Also for the other suggestions (depth 1 and single branch), which would you recommend I do?
You should do both – single branch, so you only get the branch you’re interested in, and depth 1, so you don’t get any of the history that probably doesn’t matter.
If you’re on such slow internet, then you might really want to set up a cloud instance somewhere (probably closer to where you live, as long as the instance has good internet,) and do a shallow single-branch clone to that instance, and then use rsync to transfer it to your Mac. This will likely use the least bandwidth and thus be the fastest. But it does mean you have to pay for that instance while it’s running.