Why my shadows are not displaying after light build?

HI All

Previously I was using unreal engine 4.7.6. In that version after light build the shadows were appearing perfectly. But after upgrading to 4.8 series versions I’ve converted my project to the corresponding versions. After the light build the shadows disappear in the editor. Can anyone please tell me why this issue is happening and some blueprints are also not proper like a mesh is missing for the enemy actors. Do I need to do some blueprints or actor changes in the editor. Before 2 months only I started working in unreal engine. I’m new to unreal engine can anyone help me with this issue.

Thanks&Regards
Programmer

Hey Game Programmer,

When opening the project in a new version, did you use the ‘Open a Copy’ option or the ‘Convert-In-Place’ option?

Since there are a significant amount of fixes and features implemented between major release builds, which can include any number of changes, we suggest using the open a copy option. This will help guarantee your original project is not corrupt, in case situations like what you are experiencing occur.

Would you mind providing me with some screenshots of you scene and light settings so I can have a visual representation of the issue?

Thank you,

Hi I fetched the source code from the git hub and added to the perforce then I took a copy of my current version project(4.7.6). I converted the project by removing all unnecessary files like saved,Intermediate, .sln and .sdf files then I converted the project to 4.8.2 version by right clicking on the.uproject and switch unreal version to the version.

When upgrading your project, we always suggest using the open-a-copy unless your hard drive space is very limited. The route you took is very ‘custom’ and is definitely going to cause some issues.

Open up your project through the launcher, select the engine version, and press the launch option. Then select the project you wish to update (Grayed-out if not current engine version).

Upgrading Project

Unfortunately, since you have gone about upgrading you project in a unique fashion, reproducing the issue you are experiencing is going to be difficult. In the future, keep this option in mind. If you still have a copy of your original, you can use this suggested route and let me know if your lighting is still broken.

Thank you,

Thank you for suggesting the way I’ll try and let you know

But I’m having a doubt in it. After opening a copy from the launcher is it possible to add the project in the perforce.

Yes you can add this to perforce. You will want to look through our documentation on Source Control to figure out how to add this project. It shouldn’t be hard as you are simply upgrading the engine version and not doing an entirely new project.

Source Control in UE4

This should get you to a working point, but if you are still having problems or need assistance let me know.

Thank you,

hi I tried your way by the launcher still is not working please help me Andrew

Hey Game Programmer,

It would be mutually beneficial if I could get a few screenshots to visualize the issue you are experiencing.

If you could elaborate on what is wrong with your shadows and the settings of your light actors in your scene, this could help me determine the cause of the issue.

Thank you,

Hi

The screenshots are attached in this comment please check it out. The problems are mentioned below:
1.In Directional light the shadows are working perfectly after setting the Dynamic Shadow Distance. We are working interior on the map so we need point lights.

2.In point light the shadows are not working properly after light build please help me with this issue.Please check all the images Andrew. alt text

Thanks&Regards
Programmer

Hey Game Programmer,

I tested this issue on my end and am not getting the same results that you are experiencing. I did see your results when I scaled the quality settings to Low however. Try going to your ‘Engine Scalability’ settings and setting the quality to Epic.

Let me know if this resolves your issue, or if you need further assistance.

Thank you,

HI I’m using the scalability settings as epic quality only. I made a copy of my previous project then only I converted using switch unreal engine by right clicking on the switch unreal engine. I used the launcher method also by clicking on open a copy of my current project also still this bug occurs.

Hey Game Programmer,

Do me a favor and create a new blank project with Starter Content. Create an empty (not default) level and place a stationary point light in the scene.

Drag the Shape_Sphere and the Floor_400x400 meshes into your scene so it looks like the image below. Build the Lighting and let me know your results.

Scene Set Up

If you are still experiencing issues after following the instructions let me know and I will continue to help you troubleshoot.

Thank you,

Hi in the new project test scene it worked fine. The image is attached here. In my project it is not coming, do you think is it some mesh or assets problem? please let me know

Thanks&Regards
Programmer

Hey Game Programmer,

So in your first scene, you are editing the values of the Point Light instead of your Directional Light actor. There could be a number of reasons, but you always want to make sure the object receiving shadows, and the object casting shadows have a high enough resolution to produce the crispness in your shadows.

Notice in the test scene we have no Skylight or Directional Light (both have options to cast shadows)? When it comes to rendering and setting up a test scene, you want to have the simplest light set up as possible while still getting your point across. This will help with iteration times between builds and stages of your project.

Cheers,

HI thanks for the reply I was at outstation so I couldn’t check the post. In the new project Soft shadows and sharpness is not a problem, it is coming perfectly. But in our current working project in the new level also sometimes shadows are not coming properly and sometimes shadows are not receiving. We set Engine Scalability settings to epic still the mentioned problems are coming please help us Andrew.

Thanks&Regards
Programmer

So it sounds like you could have a corrupt asset or you have changed an .ini config file, if the same set up that is broken in your own project works in a clean one.

You can try going into your Unreal Projects folder and deleting the config folder of the project you are having issues with, to see if the issue could be related to a setting you might have changed, but not realized.

Before you delete any files, be sure to make a copy of the original first in case it causes an unpredictable issue. Let me know once you have tried this and are still experiencing an issue.

Cheers,