Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
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
13
Best Answer

Answer by Edyvargas · Jul 18, 2016 at 08:35 AM

I found a useful solution for this any other way results in no better shadows for android, no matter what high are the quality settings for shadows, even in the best quality they are pixelated on the application too, the only way to make them better its resizing all the objects and make them way more bigger, this results in better shadows for android, perhaps later could find another way, but anyway, hope this helps other people with similar issue.

Update: Resizing all the objects its the same as reducing the shadow distance on the quality settings, by default this is set on 150, but when the objects are resized up in the scale, then the shadow distance needs to be resized as well to 300 or more, so finally its the same result that reducing the shadow distance without resizing the objects, in that case there is no need to scale up the objects. The "close fit" instead of "stable fit" option, improves a lot the shadows, but still somehow pixelated a little.

Comment
Add comment · Show 3 · 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 FabDynamic · Nov 18, 2017 at 09:45 PM 0
Share

For the record this solution has a chance of changing how your objects behave with regard to gravity since making things "way bigger" makes them taller (An object of any size will take longer to fall from a skyscraper than from a two story house) and the physics engine does that such things into account to some degree. I realize that depending on your project this may not matter at all and that increasing gravity (probably a lot) can simulate similar behavior but I just wanted everyone to know that it can be an issue. This video demonstrates what I mean. http://youtu.be/v97RzqcnG70?hd=1

avatar image CrandellWS · Feb 08, 2018 at 06:53 PM 1
Share

![alt text][1]

The "close fit" ins$$anonymous$$d of "stable fit" option is in menu under Project Settings->Quality Settings

thanks [1]: /storage/temp/110938-screenshot-from-2018-02-08-13-51-03.png

screenshot-from-2018-02-08-13-51-03.png (249.7 kB)
avatar image boxterman CrandellWS · Jul 05, 2020 at 06:38 PM 0
Share

thanks, that solved also my pixelated issue and help me find where the setting was, screenshot was very useful.

avatar image
9

Answer by Jack · Sep 19, 2016 at 06:01 AM

Quality -> Shadow Projection

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
-1

Answer by engeen · Jul 17, 2016 at 08:38 AM

Select your light, then change the resolution to "Very High Resolution" in the inspector.

alt text


screenshot-light-resolution.png (30.1 kB)
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 nordaj123 · Jul 17, 2016 at 08:38 AM

Go to quality settings and change the android shadow resolution to medium or high.

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 ronald677br · Jul 17, 2016 at 08:38 AM

@Edyvargas Have you set the Texture Compression to "Don't override"?

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 Edyvargas · Jul 18, 2016 at 05:49 PM 0
Share

Yest, by default its set on Dont override.

  • 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.

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