x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

When I build lighting, it gets stuck at Exporting Lighting 100%

I have a large map. It has a load of grass, terrain, and some trees. And whenever I try to build the lighting it gets stuck at Exporting 100%. On Swarm, its like the exporting bar goes on forever, without stopping.

I've tried: Setting swarm to standalone mode, setting static lighting level scale to 4, setting unreal editor to low affinity priority, setting swarm to high affinity priority, and setting local instructions to normal priority on Swarm.

None of these have worked so far.

Here's my build:

  • i7 6700k OC 4.6GHz

  • GTX 1080

  • 16GB RAM

Any ideas as to what could be causing this? Thanks!

Product Version: UE 4.15
Tags:
more ▼

asked May 14 '17 at 09:41 AM in Using UE4

avatar image

RilicTheWolf
1 1 2 2

avatar image Jin_VE May 14 '17 at 05:40 PM

I'm probably not going to be the one to answer this but I may be able to help someone else narrow it down. My first thought: is the CPU still churning away but nothing happens, or is the CPU idle? Also, how long have you let it run before giving up?

avatar image RilicTheWolf May 14 '17 at 07:02 PM

The CPU isnt doing much while it's happening. It's at about 30% load or somewhere around that.

I've let it run for at least ten minutes before giving up. :/

avatar image Jin_VE May 14 '17 at 07:14 PM

Seems like you need to build large worlds in chunks. Did you see this? https://forums.unrealengine.com/showthread.php?55735-How-does-one-build-lighting-for-massive-worlds

avatar image RilicTheWolf May 14 '17 at 07:21 PM

Nope. I don't understand most of the posts, though. I'm new to this sort of thing, and at the moment I'm just messing with the engine. I'm not aiming for a full-on game just yet. :P

I should also note that my RAM stops filling up at about 9 or 10 gigabytes, which I think means it it's fully exported, but it isn't processing.

avatar image Jin_VE May 14 '17 at 07:29 PM

Try building the lighting with one of the template projects. If that works then we know it's not completely broken. It's worth mentioning though that large worlds is as advanced as UE4 gets so it's not the best point of entry into working with the engine.

avatar image RilicTheWolf May 14 '17 at 07:32 PM

It works fine on the first person template, so it's just my game. Is it worth noting I based the entire map off of the third person template?

avatar image Jin_VE May 14 '17 at 08:32 PM

I don't think so. Let me get this straight: you're new to UE4 but you got terrain and foliage into the third person template project? That's pretty impressive. We could go on with more questions like how big is your map and such but I think it's pretty clear that baking your current map will take more than clicking Build. The link I gave describes two options, which I will put in an answer, along with the third option I see.

avatar image RilicTheWolf May 14 '17 at 09:48 PM

Maybe working with smaller worlds would be best for me. I'm only a kid who's about to do their GCSE exams messing with game dev tools, so I don't exactly have a farm of PCs in my garage. :P And the second thing seems really complicated to me. I learnt what I currently know just by searching what I wanted to do and it came up with things, like free assets and stuff.

Thanks for the help, though!

avatar image Jin_VE May 14 '17 at 10:57 PM

Yeah. That second option seems to require using sub-levels. Best of luck. Check out all the tutorials on the Unreal site as well as on YouTube. Maybe some day you can help me out with a problem. :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hopefully there will be others who can help you better but as I see it you have three options:

First, you can add more machines to distribute the load of the baking process. Swarm, with some setup, can do that, The problem for most is that we can't afford lots of machines. Most large world games are made by companies that can afford farms of machines to do this sort of processing.

Second, from what I read in the link I gave in my comment, it seems you can bake your map in stages. You disable parts of your map and bake with what is visible. Then you disable what you baked and enable some of the parts that didn't get baked yet, and then you bake again. Apparently it's cumulative so you won't be overwriting previous bakes. It may be more involved than I am aware but the link I gave should be a good starting point if this is the way you choose to go.

Third, and perhaps least desirable, is the option to simply work with smaller maps that your machine can handle. It's not such a bad option IMHO because dealing with large worlds is fairly advanced. I have to say that I've been furiously learning and developing with UE4 for a year or so and I'm just getting into working with large worlds.

more ▼

answered May 14 '17 at 08:32 PM

avatar image

Jin_VE
4.4k 32 77 41

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question