How do I fix bCastDynamicShadow problem?

Every time I try to Build mt Project I keep getting an error message “Performance Warning BP_Skydome Large actor receives a pre-shadow and will cause an extreme performance hit unless bCastDynamicShadow is set to false.” Then it will stop with the Building process. How do I go about turning bCastDynamicShadow to false, or how do I go about fixing this issue? I been searching all over the web and have not come to a solution yet.

1 Like

Is there one person that can help me with the bCastDynamicShadow problem? It is causing my project to lag so bad that it will freeze on my while trying to move an item while working on it. The freeze will last up to 3 minutes.

BUMP! Any help out here available with the issue of bCastDynamicShadow for my Skysphere or Dome? I be most pleased for any tips on this issue.

Hey there, I know this was a while ago, but I was looking for an answer to this too. I made a custom skybox blueprint (using Skysphere primitive mesh), got the same warnings. As it turns out, you can actually set this variable directly in your skysphere blueprint’s Construction tab using the “Set Cast Shadow” node. I did that and the warning went away.

See attached image.

Same Problem here with a simple Street Sign :c

This warning crops up when a large mesh is set to movable because of the way shadows are handled. In all your examples, they should be either static (unchanging) or stationary (can change, but won’t move).

Solution:

  1. Select your actor in the scene.

  2. Find and select the static mesh component(s).

  3. In the transform section you’ll find the “mobility” parameter. Set it to Static or Stationary. This will also automatically set the scene root to static.

This should solve your problem, unless you REALLY want to turn off shadows for whatever reason.

4 Likes

Sorry for a very late responce. Been out of town for some time. Thank you for this informatrion. I will give it a try. :smiley:

After countless hours of reading and hunting for this solution, I finally ran across what was simply standing in front of me all this time. How do we disable the pesky bCastDynamicShadow? Here to make it so simple that a child can do it, I will simply just show you rather than attempt to explain in so many odd ways. To disable, the bCastDynamicShadow, simply select the item you want here then uncheck the simple little box. shown below.

Thanks, it do help with reducing the drawcall. However, now the foliage shadow look bad. any workaround for the shadow?

Thanks man! You saved me a lot of suffering!