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"

"lighting needs to be rebuilt" every time the map is reopened

I have one specific map, very simple, that lost it's lighting information every time it is reopened.

When I click the build button, the lighting is built without any problem. When I click the play button to play in editor, it doesn't show any error or warning.

But if I close the editor and reopen the same map again, the "lighting needs to be rebuilt" appears when I play in editor. Always.

The same thing happens when I pack the game. Even if I build the light before (again, without any error or warning).

Only one map has this problem, all other work fine.

How do I fix that?

(Just to avoid a common answer: "Force no precomputed lighting" is not a solution)

Product Version: UE 4.14
Tags:
more ▼

asked Dec 26 '16 at 06:51 PM in Packaging & Deployment

avatar image

Marcio Daniel
525 16 33 100

avatar image Ed Burgess ♦♦ STAFF Dec 28 '16 at 11:07 PM

Hi marcio,

There are a few things that could lead to this issue so the first thing we need to do is narrow down and collect information. You can find out what lights/assets in your scene are causing this error message by opening your console command and typing DumpUnbuiltLightInteractions.

Once you look at your output log you should find the problem assets or lights listed. If your entire scene is loosing your light map data that would be good to know as well!

Since this occurs in just one of your maps we just need to pick apart that map to see what is different about it compared to the good maps. Are you using sub levels and loading/unloading them in your problem map? I've seen this issue come up as a result of that as well if things aren't handled correctly.

Also, it looks like the same guy is posting everywhere the wrong solution "Force no precomputed lighting". I'm not sure why he is doing this, but I would recommend ignoring him (Midsoft Inc.)

Thanks,

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

1 answer: sort voted first

I think some comments disapear from this thread... anyway, I don't know what is the problem exactly, but I had some static meshes with unlit materials being spawned on my BP's construction script. They are configured to static mobility. I changed this to "Stationary" and now the problem is solved. I don't know why it was not a problem before, but I think it is now.

more ▼

answered Jan 14 '17 at 09:09 PM

avatar image

Marcio Daniel
525 16 33 100

(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