Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

No real-time shadows in editor in Unity 4.3.4 and Windows 8.1

Discussion in 'Editor & General Support' started by timthecoder, May 22, 2014.

  1. timthecoder

    timthecoder

    Joined:
    Apr 27, 2013
    Posts:
    22
    I'm running Unity 4.3.4 Free and Windows 8.1 and I can not get real-time hard shadows to display in the Unity editor. I have added the -force-d3d11 to my shortcut. I have clicked the Use Direct3D 11 in the player settings. I have updated my graphics driver. I can't think of what else might make real-time hard shadows work. Any suggestions?
     
  2. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,500
    Look if your ambient light is white. [ Edite -> Render Settings ]
    Look if in the light component , the "Strength" value after Shadow Type is "1".
    Look if light color is not black.

    Look if in Edite -> Project settings -> Quality , Shadow must turn on: Hard and soft.
     
    Last edited: May 22, 2014
  3. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Make sure that the light is a directional light , because that's the only shadow that is in the free version.
     
  4. timthecoder

    timthecoder

    Joined:
    Apr 27, 2013
    Posts:
    22
    I just checked. Ambient light is not white. Shadow strength is 1. Light color is white. Shadows are on in QualitySettings.

    Still no real-time shadows in editor. Very frustrating!
     
  5. timthecoder

    timthecoder

    Joined:
    Apr 27, 2013
    Posts:
    22

    Yes it is a directional light.
     
  6. Carpe-Denius

    Carpe-Denius

    Joined:
    May 17, 2013
    Posts:
    842
    Do you have enabled the "use built in lighting"-button?
    Without it you will get some generic lighting instead of your directional light.
     
  7. timthecoder

    timthecoder

    Joined:
    Apr 27, 2013
    Posts:
    22

    No shadows whether the built-in lighting button is on or off. There are no shadows in the scene window and none in the game window.
     
  8. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,500
    Are you having this problem with 4.5?
    Did you get to the solution?
     
  9. timthecoder

    timthecoder

    Joined:
    Apr 27, 2013
    Posts:
    22
    Unfortunately I have not found a solution, and the problem still exists in 4.5.

    :(
     
  10. Ilaylor

    Ilaylor

    Joined:
    Jun 18, 2014
    Posts:
    1
    Having the same issue with win 8.1, I have shadows in editor and standalone on my win 7 desktop and laptop, but same standalone on win 8.1 gives no shadows. Also when ran in editor on win 8.1 I get no shadows, this is very frustrating. I have pro
     
  11. Recluse

    Recluse

    Joined:
    May 16, 2010
    Posts:
    485
    I'm having the same problem - it's not down to the wrong settings in Unity. On OSX and Windows 7 my project has dynamic shadows from both point and directional lighting. In Windows 8.1 - no shadows at all, on a brand new GeForce GTX 860M GPU
     
  12. lasercannon

    lasercannon

    Joined:
    Nov 29, 2012
    Posts:
    80
    @Recluse Did you figure this out? I have a 860M as well and I have the same problem. Already tried downloading the latest driver.
     
  13. Kaspar-Daugaard

    Kaspar-Daugaard

    Unity Technologies

    Joined:
    Jan 3, 2011
    Posts:
    150
    Hi all, I've opened a case on this so it's in our system. I'm not sure if we have the hardware to reproduce it yet. It would be useful if you submit a bug report so we have logs etc.
     
  14. Sty1emonger

    Sty1emonger

    Joined:
    Aug 10, 2014
    Posts:
    1
    Submitted a bug report for this issue using the Roll-a-Ball tutorial. Thanks.
     
  15. Lukas_Dapkus

    Lukas_Dapkus

    Unity Technologies

    Joined:
    Aug 5, 2014
    Posts:
    1
    Hey, Sty1emonger, could you post your case's number(just not the full link)? I can't seem to find it in the system.

    Also, if anyone else with 860M could send a report, it would be of great help to us.
     
  16. timthecoder

    timthecoder

    Joined:
    Apr 27, 2013
    Posts:
    22
    This is from the Unity Issue Tracker (see below). The issue is closed because it is "BY DESIGN"!

    How is this "By Design"? Unity should have the same shadows in the editor on Windows as it does on a Mac.


    I don't get it.



    Missing realtime shadows on Windows editor DirectX 11 (Status: By Design)

    Shadows/Lights
    Jun 16, 2014
    Priority: 7
    Severity: 0

    1.Make new project
    2.Add object "plane"
    3.Add object "cube"
    4.Add object "directional light" and turn on hard shadows
    5.Check if Player settings option "Use Direct3D 11" is enabled
    6.Switch to Android platform or iOS and there will be missing shadows on editor
     
  17. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Its a problem with DX11 and mobile platforms.
    Unity should add a warning on the light for this configuration.
     
  18. timthecoder

    timthecoder

    Joined:
    Apr 27, 2013
    Posts:
    22
    That makes sense for Windows Phone, because Windows Phone does not support Unity shadows, but the shadows run fine on iOS and some Android devices, and the shadows run fine in the Unity Editor on a Mac. Where they do not show up is in the Unity Editor on a Windows machine with the exact same project. To me that is a Unity Editor problem on the PC. Also there are no shadows in the editor on my Win 8.1 machine if the DX11 box is checked or not.