Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 coliam · Nov 10, 2013 at 04:45 AM · bugshadowscasting

Way to fix shadows not casting after importing unity store prefab?

Basically, I create a new project and throw in a floor, cube and directional light with Shadow Type set to Hard Shadows. This works fine and I get this result.

alt text

I then go to the unity asset store and download a fps pack that I brought quite a while ago.

When it has downloaded, Objects no longer cast shadows.

Im left with this:

alt text

I really dont know what is happening, and ive spent quite a while trying to fix this.
Anyone know what might be happening to cause this problem/bug?

Thanks in advance ^^

Edit


The Directional light:


alt text


The Cube:


alt text

Comment
Add comment · Show 15
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 ZDS Alpha · Nov 10, 2013 at 06:01 AM 0
Share

I have the same problem that directional light is not casting shadow.

I can cast shadow with other lights(Point light).

Check can you cast shadow with other types of lights by this way

File->Build Settings->Player Settings->Other Settings..

There should be Renderer and change it to deferred lighting.

avatar image coliam · Nov 10, 2013 at 06:09 AM 0
Share

If I remember correctly, Thats only available to Unity Pro users. :/

avatar image kiwi koder · Nov 10, 2013 at 08:16 AM 0
Share

Is the cube going to be moving/rotating/changing scale in the scene?

avatar image coliam · Nov 10, 2013 at 08:24 AM 0
Share

Yes x3 Alot more than the cube will be moving, though no shadows are casting for any of them.

avatar image CyberMew · Nov 10, 2013 at 10:18 AM 1
Share

Have you tried creating a new project and see if it still happens? OR if you import the fps pack first, then add your objects?

@coliam in 4.2+ directional shadows is enabled for Free/Indie

Edit: Forward shading only.

Edit2: You can also try to see if there's anything in QualitySettings that might affect it.

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by coliam · Nov 10, 2013 at 10:45 AM

Thanks to @CyberMew I found out what was causing this. For anyone else having this problem, Go to

Edit > Project Settings > Quality

And change Shadows > Disable Shadows to Hard and Soft Shadows

alt text

alt text

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 diggerjohn · Jan 25, 2014 at 10:29 PM

I just ran into this issue myself. After bringing all my content to 1.0 from the default .01 I found I could no longer cast shadows. I found it was all about the "Shadow Distance" parameter above. It just needed to be increased by a few multiples and all was well again. Thanks for this post, it made me think this through to that.

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

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.

Follow this Question

Answers Answers and Comments

19 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

Related Questions

Using a footstep C# script and keep getting an "IndexOutOfRangeException" 2 Answers

Android project, RT shadows not working in editor anymore. 4 Answers

Crazy Perspective in Scene Editor 1 Answer

Missing Monobehavior after switched OS from Windows to Mac 1 Answer

Unity import mesh problem 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges