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"

[Bug?] Movable Lights inside Movable Objects breaks in 4.16?

It appears that in Unreal 4.16 one loses the ability to place movable light sources inside movable shadow-casting objects.

You can see this by comparing the placement of a movable spotlight in a movable cylinder in 4.15 vs 4.16 as shown in the image below:

4.15:

alt text

4.16:

alt text You can clearly see that the dynamic spotlight is weirdly cut down to a really small radius in 4.16 now. It goes back to it's old proper rendering if moved outside of the movable cylinder though.

This unfortunately, breaks lighting for many scenarios: In one example case of mine, I have a spotlight inside a (shadow-casting) flashlight mesh. Both are moveable. The flashlight can no longer shine light in my game (worked fine in 4.15). alt text

I could of course disable shadow-casting from the flashlight mesh, but the lack of shadows is very noticeable when placed on a surface like a table or the floor.

I'm open to any suggestions for workarounds. It would also be nice to hear confirmation if this is indeed a bug, or just intended behavior, so that I'll be able to figure out what to do about it for my game.

Thanks so much!

Product Version: UE 4.16
Tags:
flashlight.jpg (33.6 kB)
more ▼

asked Jun 02 '17 at 02:58 AM in Bug Reports

avatar image

nrossol
86 2 5 9

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

1 answer: sort voted first

Hi nrossol,

Thank you for the report. I was able to reproduce this behavior so I've created JIRA UE-45646. Follow that link to monitor the status. I'm not sure if this was an intentional change on our part or not but our developers will be investigating this further.

As for a workaround, disabling Dynamic Shadow on your flashlight mesh does seem to give similar results. Will this work with your setup?

-TJ .

more ▼

answered Jun 02 '17 at 05:48 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

avatar image nrossol Jun 08 '17 at 12:02 AM

Thanks for the quick reply, I'll keep an eye out for updates on this!

As a work-around for now, I've disabled dynamic shadows on the original mesh, and created a hidden, simpler cylinder mesh in the blueprint that has has hidden-shadows set to true. This is only a partial solution, though, as the hidden cylinder is only covering the back part of the flashlight, making the front of the flashlight non-shadow casting.

(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