• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Leroterr · Oct 26, 2014 at 06:24 AM · lightinglightshadowsshadowdirectional light

No shadows.

Why are there no shadows in my current game, but there are in my previous ones?

I have the exact same settings on both. And both are also for Android.

Quality Settings has Both Shadows on. The Directional Lights has shadows on. The 3D objects in the game have shadows on. Render Mode is also set to Important, and Rendering Path is set to Forward. But I still couldn't see any of them. No shadows whatsoever.

What's weird is that, as I said earlier, in my previous game, everything works fine. This game has the exact same settings as the first one (or maybe I'm missing something), and there are still no shadows appearing in my current game.

I also have the latest version of Unity, which is 4.5.5.

I've tried searching everywhere on Unity Answers, Unity Forums, and Google, but none are helping me at all. All of it ends with the OP solving the problem with a solution that doesn't solve mine, so I decided to make my own :P

Thanks to whoever can help! :)

EDIT: Just found out that the shadows appear on my android when built and ran. So that means the shadows doesn't appear only in the Editor. Now, how do I enable the shadows in the Editor? My previous game can still show shadows in the Editor, but not this one :/

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MarksTeq · Oct 26, 2014 at 11:21 AM 0
Share

alt text

shadows.png (141.8 kB)

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by NadhmiPrince · Oct 26, 2014 at 12:17 PM

Hi,

What makes you unable to see the shadows in your game is "Your main camera isn't able to detect shadows" To fix that, select the camera in the H*ierarchy then in the Inspector in the "Camera" component change Rendering Path* to anything else;

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ssdigi · Jan 31, 2017 at 08:51 PM

Maybe you need to change your shadow distance? project settings> quality

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lenvanthis012 · Dec 10, 2020 at 07:52 AM 0
Share

Thank you so much. You solved my problem!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

32 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Light on shadows, shadows does not disappear 0 Answers

Directional Light creates wierd shadow? 2 Answers

How to add shadows in Game Environment 1 Answer

How can I fix my pitch black self-shadows? 1 Answer

How to store directional light shadowmap? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges