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 /
  • Help Room /
avatar image
3
Question by othon200 · Dec 10, 2015 at 03:50 AM · uispriteprojectflickering5.3

Whole UI flickering when animated.

When i click some button, or play some UI Animator -animation, all the images and buttons flicker and for a second change to another sprite and come back to the original. It's not only in my project, this happen on others projects and the UnityExamples Scenes.

Comment
Add comment · Show 2
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 koshik · Dec 11, 2015 at 04:35 PM 0
Share

Same here: a 1-frame flash of a different texture on some of the buttons.

This started happenineg after upgrading to 5.3, but happens only on Windows Desktop build (Android seems ok).

avatar image SaraCecilia · Dec 15, 2015 at 06:24 PM 0
Share

Hi, we are looking into similar issues for sprites flickering during animation. In one of the cases it looks like during animation the texture becomes wrong for a few frames or that the other image is the default background and so it is a z-fighting issue.

Could you help us by sending in a bug report with a project folder?

9 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Scej · Dec 18, 2015 at 01:30 AM

I finally tracked down my issue by disabling all UI elements one at a time till I found the one that was causing the issue.

My problem was due to a single UI image Rect Transform Pos Z being set to 0.00015125 (something besides 0), I reset it to 0 and all is good.

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 AdmiralThrawn · Nov 01, 2017 at 09:28 PM 0
Share

I just tried it out in my own project with some masked image being rendered above sprites which was flickering whenever a UI animation occurred. Found an element that was very close to zero and set it back to zero removed the flickery! Thanks for this valuable tip, Scej!

avatar image
2

Answer by 11k · Dec 18, 2015 at 08:59 PM

I found the solution by manny mistakes. For us to work everything without flickering i just change the "Max Size" on all our sprites to 1024 and the "Format" to "Compressed" . Also uncheck GPU Skinning in the Player Settings and use the latest patch 5.3.1f1.

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 JagaHee · Dec 21, 2015 at 11:26 AM 0
Share

Set all textures max size to 1024. Didn't help. Did anyone send bug report?

avatar image DientesDeCheto · Jan 08, 2016 at 11:49 AM 1
Share

resizing the sprite to 1024 can't be a solution...

avatar image Scej DientesDeCheto · Jan 08, 2016 at 02:49 PM 0
Share

Have you tried moving the canvas transform Z to 0.05 or greater?

avatar image
0

Answer by Vounet · Dec 11, 2015 at 11:00 AM

Same problem here since the update to 5.3.0f4 : -When a sprite is changed or when a new UI element is created some sprites (not all of them but a lot) change to what seems to be a not random sprite, but which is completly different from the one expected and then back to the original one after one frame.

Interesting point : I have a terrain one my scene, if I suppress it everything works fine.

We had a similar problem on an older version but it was corrected.

I corrected most of the warnings on my project (inclufing all NPOT) and it doesn't seem to be linked to the ones left.

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 MuHaGames_Avee · Dec 12, 2015 at 01:41 PM

I'm having the same issues, exactly as you described it. However, it only appears on OpenGL and sometimes on dx9. So far I have not observed it in Dx11 mode. I was not able to figure out what is causing this yet, but it's extremely annoying and prevents me from upgrading to 5.3 for public builds of my game. I really hope they can fix it soon or at least that we can find a workaround.

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 Scej · Dec 17, 2015 at 04:35 PM

Can confirm, I'm also having this issue any time a UI sprite is moved/animated. I posted an example video to youtube, Please don't pay any attention to the stretched graphics, I captured this video mid UI construction =P

https://youtu.be/g6496dtpwy4

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.

Follow this Question

Answers Answers and Comments

61 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

Related Questions

World Space UI and Sprite Renderer doesn't render correctly,World Space UI doesn't render correctly 0 Answers

How to change a button image with script? 1 Answer

Flickering Or Distorted Sprites after building. 2 Answers

How do you change pressed sprite (C#) 1 Answer

Trouble with UI elements on Sprites 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