• 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 andrei_filip · Sep 21, 2015 at 07:52 PM · ui2d gamerenderingcanvastween

Unity 5.2 Canvas component makes the position not to update

Hi, i just updated to unity 5.2 and i seem to have a problem with moving UI elements with Canvas component on them (for sorting purposes). I have 2 buttons that when starting the scene are bellow the screen and they start moving into the screen to their position using Tween. One of the buttons has a Canvas component on it and it doesn't update its position (graphically).The rect transform of the button is moving but not the graphic itself . The other button works perfectly because it has not canvas on it. (added 1 for testing and behaves just like the first one).

This issue happened just after updating to unity 5.2. Anyone has an answer for this?

Thanks, Andrei F.

Comment
Add comment · Show 3
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 Mhyshka · Sep 22, 2015 at 07:36 PM 0
Share

I am having the same issue since i updated to Unity 5.2. Strangely, it isn't happening with every canvas in my scene. Happening with 5.2.0f3 & 5.2.1f1.

Note that i'm using padding ( left / right anchor offset values ) to move my canvas.

avatar image andrei_filip · Sep 27, 2015 at 09:15 PM 0
Share

The canvas I have is added by me for sorting override purposes. Still happening in unity 5.2.1 Still waiting for unity not to mess up everything...

avatar image pvt_donut001 · Oct 25, 2015 at 06:09 AM 0
Share

Having the same issue, it's pretty annoying. What I am doing until this issue is fixed is setting the graphic dirty any time the object moves. Not ideal so hopefully its fixed soon.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Mhyshka · Sep 25, 2015 at 08:01 AM

Settings my canvas to pixel perfect fixed it for me.

Some of my canvas were using pixel perfect while other where inheriting from the top level one. Setting the top level to pixel perfect and inherit on every children fixed my transition issues.

Still is a Unity UI issue imo.

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 LouenZT · Sep 24, 2015 at 02:27 AM

Happened to me too, I realized I had a weird Canvas element (which I hadn't added) inside an element of my Canvas hierarchy.

1- I had a main panel with a Canvas component. 2- A child of it with "another" Canvas component, which I had not added. 3- The rest of my hierarchy.

Also note that the "other" canvas element, was different to the parent one, it had less variables to choose from in it for some reason.

I just removed that intermediate element and kept the rest. Things started to move properly again. Check if you have any weird elements in your hierarchy that you do not remember adding... Still, no clue why Unity 5.2 would have done that.

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

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

Custom Transparency Axis Canvas Rendering Order 0 Answers

Canvas items turned to be blank images 0 Answers

How to create a "back" side of a canvas UI element 1 Answer

When does the UI system generate its list of draw commands? 1 Answer

3D Objects on a UI canvas with LWRP? 2 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