When Modulated Shadow is working, change the directional light’s Cast Shadows to be false or change the light’s Mobility to be Movable, and then change them back, Modulated shadow is gone. This affects your entire project. Not only the current level, but also all the other levels will have no modulated shadow.
Reproduce steps:
- Create a new project with the default level (settings: Mobile/ES2 preview, stationary light).
- Add a basic Sphere (or any mesh actor) into the scene and place it on the floor, and then change the actor to be movable.
- Change the light source (Directional Light) Cast Modulated Shadow to be true. Now the sphere should have its shadow cast on the floor.
- Uncheck the light source’s Cast Shadows, and the shadow is gone.
- Check the light source’s Cast Shadows. The shadow is supposed to be back, but it doesn’t. Create new levels and do step 1 to 3, you will never get modulated shadows; Save and reopen the project, you still can’t get modulated shadow back. Your project is screwed.
Please give me instructions of how to get the shadows back. Or is it a bug?