- Newest
- Most votes
- Most comments
Hi,
If you are using version 1.22 you may experience the same problem than others (see https://forums.awsgametech.com/t/compiling-time-tests-on-code-tiny-changes-ly-1-20-vs-1-22/7847). However, long initial compilation times are frequent for big engines: Unreal Engine also has hours-long builds when you have to rebuild the whole engine on a single machine. I can suggest you 4 things:
- downgrade to 1.21 if you're using 1.22, and test if that makes your compilation times shorter. When LY's team has a fix they'll tell us and we'll be able to upgrade to 1.22.
- get Incredibuild or any other distributed task program (even if lumberyard' build system doesn't support it; it's not really hard to make it work, I've done it for Sony's tool so I can give a hand).
- put your project on an SSD. Really. Linkage times are really a thing with lumberyard (esp. release builds) so a good disk bandwidth is a must.
- never clean your BinTemp/ folder if you can't afford a full rebuild.
Thank you for your response. I'm glad a patch is being worked on for this. I understand that rebuilding an entire game engine will take some time on a single machine, but I am wondering why a rebuild of the entire engine is necessary in the first place when simply adding a Gem or making a new project.
Is it just that I am misunderstanding what exactly Gems do within Lumberyard?
Other engines, such as Unreal Engine, can make new projects within seconds and have support for plugins and code assets which don't require complete rebuilds and can be quickly installed within just a few minutes with just a couple of clicks. As far as I can tell, Gems do the same thing except they take much longer due to the requirement to rebuild.
Just to be clear, I still like this engine, I'm just curious about these aspects of it. Also, I will certainly try out an older version to test my build speeds on it. I'm looking forward to exploring more about this engine.
I am wondering why a rebuild of the entire engine is necessary in the first place when simply adding a Gem or making a new project.
In theory this shouldn't be the case, only the gem should be building. However, I can't guarantee that on a vanilla 1.22 as I work with modified build tools, but I didn't see odd full-engine rebuildings since we upgraded from 1.18. Could you attach a build log so we can see what happens ?
Same goes for new projects, as a project is basically just a specific gem.
Is it just that I am misunderstanding what exactly Gems do within Lumberyard?
Gem is just a fancy name for "plug-in" as far as I understand the concept.
It seems I was speaking a bit too soon on those build times. It does seem after making a new project the build time for the second new project was much shorter. And I will assume that the same is true for Gems.
Looks like I was over-reacting and it really isn't as bad as I initially thought.
[quote="Kaipyr, post:5, topic:8017"] for the second new project was much shorter [/quote]
yeah, first build it's very long(~8-12min) for default project template (around ~2800 files for compiller's job translation), all next iterations are very short in compare with first build. all engine rebuild, take around 40-50 min (on my PC: 8700k + 512 SSD)
Ha, for me it took about 4-5 hours for a complete rebuild of everything (~8000 files). I have an i7 3770 and a hard drive (I really need to get a SSD).
This post is closed: Adding new answers, comments, and votes is disabled.
Relevant content
- Accepted Answerasked 7 years ago
- Accepted Answerasked 5 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago