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 Report] Severe Material or Lighting Bug on Instanced Static Meshes

Hello there,

(edit) The glitches described below occurred because the lighting was not setup correctly. There's actually no bug in the engine! If you look at the pictures below you can see that the grass has no shadows, this is because the Directional Light was set to static instead of mobile which is necessary if you're going to use Instanced Static Mesh Components, you cannot compute the lighting before that because the instances are added during runtime!

Most recently I've been creating a blueprint that uses multiple (Hierarchical) Instanced Static Mesh Components and these glitches became very apparent! All Instances should look the same but they do not, some appear much darker than they should which creates odd "color"-borders where there shouldn't be any:

alt text

Another glitch I've been observing is that instances will change their color (become lighter or darker, sometimes even black) seemingly at random! I've created a small gif of this color shifting so you can see how it looks:

alt text

You can clearly see that the instances of the 4th Component are shifting color after they have been added. I've also noticed this effect occurring after all instances have been added and also when using only one instanced static mesh component, seemingly at random instances become darker or lighter.

Kind Regards, Gull Jemon Studios

Product Version: UE 4.13
bug.png (2.1 MB)
colorbug.gif (2.0 MB)
more ▼

asked Nov 13 '16 at 11:35 AM in Bug Reports

avatar image

133 31 30 34

avatar image Matt.Williams Nov 16 '16 at 04:09 PM

Hi GullJemonStudios,

I've moved your thread to the Bug Reports section of Answerhub, please be sure to log any future Bug Reports in that section to get traction on them.

-Matt W.

avatar image GullJemonStudios Nov 17 '16 at 10:07 AM

Thanks a lot, as I said it wasn't intentionally misplaces. My apologizes. I hope I'm not the only one with this problem, it seems to be quite a large bug. Supposedly it has to do with the lighting or so, but I don't know..

avatar image AndrewHurley Nov 17 '16 at 02:27 PM

Hey GullJemonStudios,

This looks very similar to an issue that was caused a few engine versions ago, dealing with sharing the landscapes lightmap for the foliage actors. Can you provide to me the steps to take in order to get this issue to reproduce on my end?

I am unaware of a way to use a blueprint to paint foliage instances on the surface of a landscape, so I need some steps and setup to follow in order to determine this as a bug within the engine.

Let me know if you have further questions or need additional assistance.

Thank you,

Andrew Hurley

avatar image GullJemonStudios Nov 21 '16 at 01:41 PM

Thanks for the response. I'll look into it and give you a step by step instruction as soon as possible..

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

1 answer: sort voted first

Good Day,

After some time I've finally figured out why I wasn't really able to reproduce the glitch so easily in another project. Turns out that my Directional Light was set to Static and that all my shadows were in fact not being rendered correctly.

I have set the Directinal Light to mobile which is absolutely necessary because the instances appear during runtime and therefore the lighting cannot possibly be calculated prior to that. Therefore I can conclude that this was in fact not a glitch caused by a bug in the engine but because of the wrong mobility of the light.

The problem was that I was so focused on the programming part that I became totally oblivious to the fact that there was absolutely no shadow visible. If I had realized that before I wouldn't have thought that there was a glitch in the engine. So if you bump into a similar problem just check if you've setup the lighting correctly.

Hope this helps,
Kind Regards, Gull Jemon Studios

more ▼

answered Nov 24 '16 at 08:47 AM

avatar image

133 31 30 34

(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