question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No shadows in build

See original GitHub issue

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

When I launch the app in editor the shadows are being displayed “properly” but when I build the app for some reason shadows are not working. Verified everything regarding shadows was enabled in Quality settings and Graphics and I don’t know where to look now.

Steps to Reproduce

1.Add directional light to scene with ZEDLight.cs 2.Add object to cast shadow 3.Build

Expected Result

Shadow displaying in build as “fine” as in editor

Actual Result

Shadows not displaying only in build

ZED Camera model

ZED2

Environment

Windows
i7
GTX1080

Unity plugin 3.6

Anything else?

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Pixionrevolutioncommented, Dec 22, 2021

Ok, I just fixed my problem by comparing creating a new project and counter check all the settings. Somehow in Project Settings/Quality, the level were set on default as Very-low. I don’t know why and I feel a bit dumb not to have noticed it. Anyway, the problem is fixed, thanks!

0reactions
Bvallon-slcommented, Dec 22, 2021

I put it at maximum value (1) just to be sure I see it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug - URP. No Shadows in build
When doing a build with shader stripping, since the Fastest quality setting has shadows disabled, this causes all the other quality settings to ......
Read more >
Game Has No Shadows in Build, but Works Fine in Editor ...
The shadows look perfectly fine when playing my game in the editor, but when I build the game and play it they're not...
Read more >
No shadows in build - Questions & Answers
Hi. I'm having trouble getting shadows to appear in a build. They appear fine in the editor. I'm using Unity 5.6.1f1.
Read more >
Unity shadows working in editor but not working in builds
I realised there was something wrong with the directional light I had. I just tweaked it a little bit and VIOLA! It's solved....
Read more >
Shadows disappear in web build - Ask
Hello. I noticed that all the shadows in my game are not present in my webGL build. This is terrible since you need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found