Reputation: 39
I use URP and baked directional light.enter image description here
Edit: I of course already baked a lightmap. The problem is dynamic objects aren't enlighten by directional light(on baked mode).
Upvotes: 0
Views: 2472
Reputation: 539
In my case, static ones were completely dark but dynamics were working normally, clearly during baking all that lighting information affected every static object.
It is possible that your lighting data asset is missing or pointing to the wrong one. Very unusual, extremely dark (even on vertexLit textures) may appear very dark after baking in a scene.
Go to the Lighting Settings, and check your lighting settings assets. It is probably missing even if it is not you can create a fresh one and bake it again.
After I looked at your image, realized that your static objects might be using baked data and dynamics are using real-time. You can change direction-lights color and check which objects/shaders are being effected. Or you can just wipe lighting data Rendering->Lighting->Scene tab->Button right bake button left drop down->Clear Baked Data
Upvotes: 0
Reputation: 446
First save your scene. Then Open Window -> Rendering -> Lighting. Check the Auto-generate checkbox and give it a couple of minutes and see if your problem resolves.
Note: This may take several minutes depending upon your project size and your PC's CPU and Memory. If your system hangs for some time, leave it as it is and after the process completes, your PC becomes normal (my PC took (hangs) for about 20 minutes) and your problem will also solved.
Upvotes: -2