Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 CluelessGamer · Jul 19, 2018 at 12:43 AM · androidandroid buildartifacts

Artifacts when buildg for android

Hi My problem is that everything goes perfect until I try to build for Android. All The lightmaps get corrupted at the end of the process. Purple artifacts appear apart from losing all the smoothness as you can see. Other things fail too like the specular bloom or the proper functioning of materials. The more I go on, the more errors appear. And there is no way to fix it. Just create a new proyect and bring the assets without lightmaps.

I have tried with Unity 2017.4.1f1 and Unity 2018.1.1f1, and Android Studio 173.4697961and Android Studio 173.4720617. But nothing changes.

I have Windows 10 updated.

It doesn't happen when bilding for pc.

Any idea?

Thanks in advance

alt text

,

hangar-artifacts.jpg (228.5 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by TheKnightsofUnity · Jul 19, 2018 at 01:22 PM

Try changing default quality settings for Android platform. Go to Edit > Project Settings > Quality. A new menu will pop up in the inspector. quality_settings

Change quality settings for Android and look at how it affects your build.

Edit:

The artifacts you're talking about are those lines patterns in gradiented light dispersion?

Well, you're dealing with a thing called Color Banding. That's a very popular artifact in computer graphics. The thing that can help you with this is called Dithering. It would require writing a custom shader, though.

There was a conference on GDC 2016, where developers of the game INSIDE shared their way of dealing with this. Here's a video (17:00).


quality-settings.png (38.4 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 CluelessGamer · Jul 20, 2018 at 01:23 AM

Well, @TheKnightsofUnity , I have tried several qualities and the result is always the same. Even more, the artifact pattern is always the same. I have also tried different minimum requirements of android version. Keeps doing exactly the same thing. It happens while the objects disappear while compiling. When they reappear, the artifacts are there.

And I haven't found a single reference to this on the internet. Just when creating the lightmaps you don't use enough resolution. But this is not the case. When artifacts appear they will never go away no matter how many changes I make. And they are not the only error.

Comment
Add comment · Show 5 · 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 TheKnightsofUnity · Jul 20, 2018 at 01:23 PM 0
Share

The artifacts you're talking about are those lines patterns in gradiented light dispersion?

Well, you're dealing with a thing called Color Banding. That's a very popular artifact in computer graphics. The thing that can help you with this is called Dithering. It would require writing a custom shader, though.

There was a conference on GDC 2016, where developers of the game INSIDE shared their way of dealing with this. Here's a video (17:00)..

avatar image CluelessGamer TheKnightsofUnity · Jul 20, 2018 at 02:25 PM 0
Share

Thanks

I have looked at it and it's going to take a few days to solve this. Never writen a custom shader before.

Will update when I have news.

avatar image CluelessGamer TheKnightsofUnity · Jul 24, 2018 at 03:12 PM 0
Share

Hi again. I've been looking information about what you told me, and in the process I just found this that looks so much like my problem...

https://gamedev.stackexchange.com/questions/118899/box2dlights-in-libgdx-bad-quality-of-the-light-gradient-on-android

The only thing is I just don't get to find that AndroidApplicationConfiguration.java ot the AndroidLauncher.java I don't know about program$$anonymous$$g in Unity, so I don't know if these are extras added or what.

Do you have any idea where it could be?

avatar image TheKnightsofUnity CluelessGamer · Jul 25, 2018 at 10:33 AM 0
Share

The link you've provided is from a different game engine LibGDX. This solution is not for Unity.

Show more comments

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

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

Problem with particle system on android 0 Answers

Compiling Android game doesn't work out 0 Answers

"CommandInvokationFailure: Gradle build failed" when building to Android 1 Answer

Canvas buttons become invisible on android build when adding material 1 Answer

OpenCVForUnity Core.Flip function not working in Unity Android Build 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