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"

How to suppress unbuilt lighting prompt?

I'm in a somewhat unusual situation: My persistent level contains only dynamic actors, the static, lightmapped environment is in two streamed levels. Only one of them is loaded at any given time. For certain reasons the only way to build lighting on those levels is by opening them alone and calculating lightmaps that way, not while the persistent level is loaded. This method produces proper lightmaps but when the persistent level unloads one streamed map and loads another the "Lighting needs to be rebuild" prompt shows up. How could I suppress it?

Product Version: Not Selected
more ▼

asked Nov 21 '14 at 03:41 PM in Using UE4

avatar image

1.6k 80 94 146

avatar image Jacky Nov 21 '14 at 04:25 PM

You can use DISABLEALLSCREENMESSAGES command to get rid of that message, but as Tim explained it is not a solution for your problem.

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

2 answers: sort voted first

Hi ZoltanE,

Without going into Source code there is not way to get rid of that error than locating what is the root cause of the issue and where it needs to be fixed.

If you're able to build lighting for the individual levels and load them without getting the lighting needs to be rebuilt then something needs to be looked at in the persistent if there is no other place it's happening.

Make sure that you do not have any lights in your persistent for this setup because the lighting will be baked to the lower levels which could be the cause of the issue.

I would really not put anything in my persistent other than using the level BP there and setting up my Player start. I would use a completely different level/map for my dynamic objects.

I used the same project that I had provided before on one of your level streaming questions and set the levels up to automatically switch along with having a dynamic object in my persistent level. I didn't get the same results with the lighting needs to be rebuilt warning.

Are you able to reproduce your setup in this project and provide for testing or give me a setup that will get the same results? I Can look into how to get rid of the warning, if possible.

Project link: https://www.dropbox.com/s/g8gdjp2szqdua29/DayNightSwitch.zip?dl=0



more ▼

answered Nov 21 '14 at 04:12 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image ZoltanE Nov 21 '14 at 06:32 PM

Thanks for pointing me to the right direction: there were a couple of instances of a certain BP class on the persistent level which contained a static mesh component accidentally left as 'static'. No warning now when switching levels.

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

World Settings -> Force No-Precomputed Lighting = True (It is a checkbox, so check it)

more ▼

answered Dec 12 '16 at 08:55 PM

avatar image

Midsoft Games
56 1 3 11

(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