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"

Moving Sub-Level Location does not also move Baked Lighting with it.

Hello,

I have what appears to be a bug with regards to Baked Lighting information not moving with Sub Levels in the Persistent Level. This causes each SubLevel to have incorrect lighting information on the terrain/rooms and also causes all movable actors to appear jet black.

In the Editor I created a Level and named it "Hospital"

Then, I double-clicked the "Hospital" Level and Created: Light-mass Volumes/Character Light Volumes as well as added static and movable Actors. Then I build lighting.

alt text

I created a Persistent Level and added this "Hospital" Sub Level into it. I changed the location of where this "Hospital" Sub Level exists in the Persistent World as well as other sub levels in my game.

alt text

Now I toggle Lighting visualizers to see where the light-mass is located and as you can see, it exists at the origin of the persistent level. Actually, all the sub-levels have their light-mass in the center of the persistent world which means none of my sub-levels are getting accurate lighting information at all.

alt text

I have read that in order to keep lights from other sub levels from rendering on top of each other, you need to build lighting (separately) in the sub level by itself. But if the baked lighting does not travel with the sub level's new position, then this is a big problem because nothing looks correct. That means you can't build a sub level separately and then add it later into a persistent level.

FYI, the persistent level does NOT have any lighting or geometry in it whatsoever, just trigger volumes. I feel like I should let everyone know that all sub levels look and feel different (they have different colors and lighting), and are meant to be all loaded once, and the player dynamically teleports seamlessly to each sub level with the level visibility toggled on/off whenever the player completes a task. Because there are trigger volumes that dictate gameplay, I can't have overlapping sub levels which is why I need them to be somewhere else entirely.

Product Version: UE 4.18
Tags:
level01.png (1.9 MB)
level03.png (107.5 kB)
level02.png (2.0 MB)
more ▼

asked Feb 20 '18 at 08:24 PM in Bug Reports

avatar image

Shadow_Knights_
16 3 6

avatar image Shadow_Knights_ Feb 21 '18 at 07:10 PM

I also wanted to say that I was able to replicate this issue on a clean project 4.18. I added small sub levels into a persistent one and added an offset and built lighting separately. Each sub level had all of it's lightmass data in the center of the map.

alt text alt text alt text alt text

level01.png (787.2 kB)
level02.png (793.3 kB)
level03.png (34.2 kB)
level04.png (1.8 MB)
avatar image saeedc Oct 03 '18 at 08:02 PM

Hi.

have you found a solution yet? we have the same problem.

avatar image Shadow_Knights_ Oct 03 '18 at 11:43 PM

There is no official way to fix it (at least not that I've found) as the light-mass still doesn't work as expected even in 4.20.3. I can describe how we tried to at least hide some of it. This may or may not work for your game/project.

Note: Our game plays a lot like some of the newer horror titles you'd find on Steam where objects can be picked up and inspected/rotated in place.

In maps that have movable objects (like the drawer in the office) that absolutely needed lighting applied to it as it translated back and forth, we created small movable lights that have their own light channel (ex. channel 1)

The inspect-able object would tick the same light channel (ex. channel 1) and we'd adjust the brightness of the light enough so it doesn't appear as black anymore.

Notice the drawer is still kinda darker than the rest of the static objects around it. Normally, a character volume would solve this issue, but unfortunately, because of the streaming level bug, all that light-mass data is missing because it's at the origin of the persistent map and not at the streaming level map. It also sucks that we have to add movable lights because they have additional performance costs.

I'm sorry, I wish I had a better work-around for this. =(

alt text alt text

capture.png (1.4 MB)
capture2.png (1.1 MB)
avatar image saeedc Oct 04 '18 at 01:32 AM

we are also working on a horror project and we have movable doors and drawers which are totally black after build.

if you move and rotate each level from inside it ( select all assets then move or rotATE some where you want it to be in its persistent level which in our case is the world map where all levels are there as sublevels) instead of moving levels using level details panel. and then create a "build map" per level and add a level to it and build then when you open the world map those sublevels with their build data will be there correctly . for example a build map named hospital_build then add hospital to it and build lights then add hospital to the world. it can solve some of your current issues then you can remove movable lights and get a better result. our current problem now is more complex than yours i think.

when using light visualizer it only shows us light data of only one level I mean if have two levels loaded then light visualizer shows only one of them and in runtime when a we want to load another map its indirect light appears in the current level and makes all movables dark.

avatar image saeedc Oct 04 '18 at 01:36 AM

i said create a build map per level I meant per atmosphere. if you have a house and each room has its level then you must have house_build map and add the entire house to it and build

avatar image saeedc Oct 04 '18 at 01:43 AM

did you report this issue? I reported it.

avatar image Shadow_Knights_ Oct 04 '18 at 04:22 PM

I was going to report it oh so long ago, but I decided it was too much of a hassle to report issues to Epic using their new bug submission form, especially since I was incredibly detailed and thorough on this AnswerHub page. Took me a whole day to take photos and write it all up. Also, there's no communication anymore so I felt like I would never know if things got fixed or not. =D

avatar image saeedc Oct 04 '18 at 11:39 AM

Hi dude.

we solved all problems!

volumetric light does not support level streaming. take a look at the end of this page link text

avatar image saeedc Oct 04 '18 at 11:40 AM

you only need to change the volume lighting method to spare volume lighting sample from world settings

avatar image Shadow_Knights_ Oct 04 '18 at 04:23 PM

Wow! I'll try this and see if it works!

avatar image Richard Vinci Oct 04 '18 at 05:22 PM

Hi saeedc,

I'm the environment and lighting artist working on Shadow_Knights_'s project. I think we already resolved the issue in a different way. We had our issue before the volumetric option was introduced to the engine so that does not seem to have an effect on the problem in our case. We found that once the project was "launched" as a proper standalone game that the issue with movable objects appearing black no longer manifested. There was another issue related to lighting where light would appear to flicker on movable objects as if the engine couldn't tell whether the object should be shadowed or not. It seemed that changing movable objects to skeletal meshes resolved that problem.

avatar image Sean L ♦♦ STAFF Feb 22 '18 at 02:07 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

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

0 answers: sort voted first
Be the first one to answer this question
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