• 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
3
Question by Edyvargas · Jul 16, 2016 at 08:51 PM · editorbuildshadowsissue

Shadows became ugly pixelated in Unity Editor 5 after an Android build

Something strange happends with the shadows on the Unity Editor after an android build, somehow they turn very pixelated now, and before the build the shadows was ok, perhaps its a dx11 unity 5 bug?, thanks for any help.

Note: After perform a PC build the shadows are OK again, is there any way to have the shadows ok always?

alt text alt text

weird-shadows-after-build0.jpg (68.6 kB)
weird-shadows-after-build.jpg (95.9 kB)
Comment
Add comment · Show 6
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 Whiteleaf · Jul 16, 2016 at 10:29 PM 0
Share

Looks to me like it's something with the shadow quality, that's what they look like at the lowest quality.

avatar image Edyvargas · Jul 16, 2016 at 10:33 PM 0
Share

It seems, but the shadow quality its on very high, this poor quality shadow on the Unity editor fixes after build for PC, or click on switch plataform on the build settings menu, its something with the editor or just a configuration new in Unity 5?, i dont know, ill post if found something more specific about this, thank you.

avatar image Edyvargas · Jul 16, 2016 at 10:38 PM 0
Share

...by the way, the cascades set for shadows (0,2 or 4) on the quality settings, doesnt affect android shadows, this is a normal behaviour, but i dont know why after an android build the editor stays like that...

avatar image tanoshimi Edyvargas · Jul 17, 2016 at 06:31 AM 0
Share

What quality settings have you set as default for an Android build?

avatar image Whiteleaf tanoshimi · Jul 18, 2016 at 05:05 PM 0
Share

I was just going to comment this. Usually unless you've manually selected the shadow quality it will be deter$$anonymous$$ed by the quality settings.

avatar image Edyvargas · Jul 18, 2016 at 12:48 AM 0
Share

The quality settings are set on very high for the shadows and also for the directional light, but its pixelated on the editor, only when the buil plattaform its moved to PC then the shadows get fix on the editor.

7 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by dvr707 · Oct 20, 2018 at 02:51 PM

Quality Settings - Shadow Distance from 150 to 10 made a huge difference for me Edit: this can be useful only in scenarios where the player-to-shadow distance is fixed

Comment
Add comment · Show 2 · 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 N-8-D-e-v · Jul 05, 2020 at 04:14 PM 0
Share

I can't find this setting, I'm on urp

avatar image N-8-D-e-v N-8-D-e-v · Jul 05, 2020 at 04:14 PM 0
Share

@dvr707 please helpppp

avatar image
0

Answer by GeroNL · Jan 19, 2021 at 12:22 PM

  • First, you must check what build Quality that you used. you can check in Edit->Quality. for surely, you must click one of Level that already there when you follow this step.

  • If this step already fixing the shadow, and after build you get it again you should chose what build you want to test. (example : you fixing by use high quality, but when you compile it on android, that not fixed)

  • Then go to URP that you use. Select URP based on quality (in quality setting just now you should see what rendering that you used. you can see on Rendering Label). You will see Lighting and Shadow in the inspector of URP that you used.

  • In the Lighting->Shadow Resolution actually can be set to 256 px, it's not a problem but it improve the quality of shadow.

  • The problem is Shadow->Depth Bias and Shadow->Normal Bias, for the Normal Bias you can set it by 0 and the Depth Bias you can set it by 3 or more. And for more best Quality, you can enable the Shadow->Soft Shadow.

Hope it work

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
  • ‹
  • 1
  • 2

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

66 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 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 avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Shadows in Editor But Not in Build 2 Answers

c# ai script works in editor but not in build 1 Answer

Editor performance issue in 4.5 0 Answers

The ‘ContextClick’ event of the ‘TreeView’ class does not fire from a custom inspector; but if you do it from an editor window it fires. 0 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