- Home /
Unity pro 4, shadow problems
I'm using Unity 4.2 pro version and i'm having some problems with lights and shadows. When i put a point light on my scene and set it to cast shadows, i receive the message that says "Only directional lights can have shadows in forward rendering". So, then I go to the player settings, and set the lights to deferred, voilá, the lights just disappear from my scene. Then i click in the option to use directx 11 and the lights appears again but without shadows. Is that a bug in unity 4.2?
My GPU is a Geforce gtx 770m, and i have directx 11 installed.
Yes, the message i receive was: "Nothing to bake"
I tried to downgrade unity, but i got the same error. So, i think it might be a problem with Directx 11.
You could also try disabling mesh compression. Also don't forget get that light mapping requires objects to be static. $$anonymous$$ake sure the appropriate objects are marked as static in the inspector.
Your answer
![](https://koobas.hobune.stream/wayback/20220613112343im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Light/Shadow Z-Fighting Styled Flickering while Camera is Moving Around 2 Answers
Why won't shadows render? 1 Answer
URP shadow problem 0 Answers
Direction light shadows are not casting after baking lightmapping 1 Answer
Strange artefacts when i turn on edge detection while using orthographic camera 0 Answers