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 project is re-opened?

I have a few stationary lights that overlap, and more than the max of 3. After I build, I get an error that they will be dropped to movable and there will be a performance loss, and moving through my level I get a fluctuating notification of around 50-80 unbuilt lights.

However after this build, I get upwards of 120 FPS and my lighting is actually working perfectly, with little perceivable performance loss.

Unfortunately, as soon as I re-open my project, all of that lighting data is dumped and then I get to around 1700 unbuilt objects instead of the less than 100 that I saw building before.

Is this a current issue or am I doing something incorrect?

I cannot use static lighting and movable lighting does not look good and does, in fact, kill performance. I simply want the lighting data to stop being dumped just because of the few overlapping stationary lights I have in my levels. And no I cannot decrease the radius, either.

EDIT:

After a complete build:

 Cmd: DumpUnbuiltLightInteractions
 DumpUnbuiltLightIteractions
 Lights with unbuilt interactions: 0
 Primitives with unbuilt interactions: 0

After closing and re-opening the same level:

 Lights with unbuilt interactions: 8
 Light Candlelight_C_2
 Light Candlelight_C_1
 Light Candlelight_C_0
 Light Candlelight_C_711
 Light Candlelight_C_970
 Light Candlelight_C_1216
 Light Candlelight_C_1450
 Light Candlelight_C_24
 Primitives with unbuilt interactions: 375
 [attached in txt file]
Product Version: UE 4.9
Tags:
prinuninter.txt (48.0 kB)
more ▼

asked Sep 23 '15 at 04:41 PM in Bug Reports

avatar image

DatapawWolf
19 4 12 13

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

3 answers: sort voted first

Hi DatapawWorld,

With regards to Stationary Lights you can only have 4 that overlap. This is not an arbitrary value that is picked, this is a limitation of using them. Each light gets assigned to a RGBA value so that they can work this way. In order to not have these overlapping and avoid the performance loss you will need to change the mobility of the light or the radius size so that they do not overlap.

I'm not sure why all the lighting is being dumped when you reload the project though. Can you try this in a template or blank project with the default settings and let me know if this happens there as well?

To see what objects are not being build can you make sure to open the Output Log (Window > Developer Tools > Output Log). Then use the console command DumpUnbuiltLightInteractions and copy paste that part of the text here. If it's more than a few line please put it in a txt file and upload. This will list any objects that are not being built during the lighting built. Which if you're using stationary lights that are overlapping or have objects that are static and then moving them can break lighting.

Let me know.

Tim

more ▼

answered Sep 23 '15 at 06:07 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

avatar image DatapawWolf Sep 23 '15 at 09:07 PM

First post updated.

avatar image Tim Hobson ♦♦ STAFF Sep 24 '15 at 01:38 PM

Did you try this in a blank or template project as well to see if this is solely project related?

I see you're using the Bumping Pub assets from the txt file. I do not have access to this content so it would be good to know if this is happening with something other than that particular content.

Also, since I'm not familiar with how this content is setup, are the objects listed here in Blueprints, or are they just placed in the world, are any of them painted in place using the Foliage tool?

At this point to really proceed we'll need to confirm this is happening without the mentioned content above and if it's not, then we can start to look at what is setup differently about this content that may be throwing the issue. If it's not the content, we can start looking elsewhere with the editor.

Thank you!

avatar image DatapawWolf Sep 24 '15 at 03:33 PM

New template seems to be fine with 5 stationary lights and overlapping radii. Lightmaps are not dumped on re-load.

I am attempting to see look for any other details within my game that may be affecting builds. If I cannot narrow it down, I'll test out the props, which are meshes in the Bumping Pub pack, and see if there may be issues there.

avatar image Tim Hobson ♦♦ STAFF Sep 28 '15 at 09:13 PM

Thanks for letting me know. Post back here and let me know if you find anything and we can proceed from there.

(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:52 PM

avatar image

Midsoft Games
56 1 3 11

avatar image DatapawWolf Dec 12 '16 at 08:58 PM

I'm sorry but what is that supposed to fix? As far as I understand I needed precomputed lighting. The entire issue was that it wasn't precomputing lighting in the project and thus murdering the framerate.

avatar image Midsoft Games Dec 12 '16 at 09:05 PM

Sorry! I misunderstood the question you are asking. I can see that you are running 4.9. 4.13/4.14 would fix your problem. Try to convert it.

avatar image Midsoft Games Dec 12 '16 at 09:07 PM

I answered by a mistake. I didn't see your actual issue. I thought that you can't build the lighting, that the unbuilt objects message keeps appearing again and again, but I was wrong. Sorry! I told you. You can convert the project to a newer version.

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

i has the same problem, use 4.16 so i trace source code.

ULightComponent::ApplyComponentInstanceData(FPrecomputedLightInstanceData* LightMapData)

if (!LightMapData->Transform.Equals(ComponentToWorld)) { return; }

Transform not equal. so LightGuid not Update.

more ▼

answered Jul 28 '17 at 03:37 AM

avatar image

icemark.liang
1 1 1

(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