• 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 reptilebeats · Aug 06, 2012 at 01:46 PM · uiguimenu

image moved is leaving a trail

$$anonymous$$ everyone i have a menu on the iphone where the menu can be moved left or right and it works fine the only problem is when it is built i am seeing a trail left be$$anonymous$$nd and does not go away until the ui is $$anonymous$$dden any ideas on how to fix t$$anonymous$$s

ive tried a few t$$anonymous$$ngs, but builds take so long its taking ages to guess

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
6
Best Answer

Answer by Kryptos · Aug 06, 2012 at 02:32 PM

Like @holymcroly, I t$$anonymous$$nk that t$$anonymous$$s might be related to the camera clear flags that is used to render the GUI.

Don't clear and depth only can cause t$$anonymous$$s kind of t$$anonymous$$ng if no other camera are used in the scene. If it is the case, consider using a background color to clear the camera.

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 reptilebeats · Aug 06, 2012 at 02:50 PM 0
Share

ahh ok i will try adding another camera... i just did a test with out any background image and it is a lot worse... i hope its because there is only one camera, as im only testing my menu the actual game camera attached to the player isnt in the game. so i will put one in and post back in about 5 minutes.

im using ios 6 so sometimes i get api errors and stuf in xcode so might take a bit longer, nothing serious its just the authorising part which sometimes fail

avatar image reptilebeats · Aug 06, 2012 at 03:00 PM 0
Share

oh my god thank you so much, up untill now this is the only problem which really had me stumped, i never had this on my main menu as the main menu is in a room wich pans to different parts. but this really had me.

i will have to write this down as i probably forgot soon...

i dont suppose you could explain why it does this, or a link to a website which explains, i like to know why i shouldnt do something rather than just knowing not to do it.

if not either way it works now and would of caused me hours to figure it out on my own

avatar image
0

Answer by Akill · Aug 06, 2012 at 01:55 PM

What clear flags are set on the camera that draws your HUD? Also, is there a chance a trail renderer is attached to your menu?

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 reptilebeats · Aug 06, 2012 at 02:07 PM 0
Share

nah there is no trail render on, the trail is the image but disapears shortly after. then it leaves a see through imprint on the screen bit like a slug trail.

if i flip my phone around it goes away, im thinking my update isnt fast enough to deal with the image moving via touch position, my camera is orthographic and is only used to draw the ui and is set to depth only

avatar image reptilebeats · Aug 06, 2012 at 02:09 PM 0
Share

im building as a development build and set the scripts to fast with no exceptions does this make a difference to it.

avatar image reptilebeats · Aug 06, 2012 at 02:23 PM 0
Share

nah updates are fine, im going to have a look at the shaders next, it may be leaving the trail on a image underneath it i will do a test with out anything below it.

oh yh im using NGUI UIPanel and UIRoot to use an atlas and what not for my ui, all the code for the actual UI is done by me though, it doesnt do it in the editor though so im hoping its to do with a shader.

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

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to use options in the Dropdown menu UI? 2 Answers

4.6 UI transfer between Menu pages 2 Answers

Positioning Context Sensitive Popup Menu Using 4.6/5 UI system 1 Answer

Making a UI.Button put text into a InputField 1 Answer

In game right click menu 1 Answer


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