Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
4.6.1p2
Issue ID
661478
Regression
Yes
[Canvas] Nested canvas is set and remains set to lower left corner after entering and exiting play mode
Steps to reproduce this issue:
-Open attached project
-Note the Canvas with a Nested Canvas.
-Change Nested Canvas to anchor stretch both horizontally and vertically
-Hit play
-Nested canvas is set to lower left corner
-Stop Play
-Note Nested Canvas is still set to lower left corner
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
zsearthas
Oct 06, 2016 08:11
Having this Bug in 5.4.1f1 x64
Elzbach
Aug 14, 2016 22:20
This bug has shown up again in 5.4.0f3!
D.A.
Oct 18, 2015 00:54
When your canvas changed sizes,positions,scales... from this issue.
You have to recover that settings by codes.
Like this .
rt.transform.localPosition = new Vector3(0,100,0) ; // position recover
rt.sizeDelta = new Vector2(1000,1000) ; // size recover
How many canvas in our project....
D.A.
Oct 18, 2015 00:12
I found workaround code this issue in my project.
But I think this is not right answer for our problem and layout seems broken on Unity Editor yet.
Attach to this code included script(C#) for layout broken canvas with this issue.
// =================================
using UnityEngine;
using System.Collections;
public class CanvasIssueWorkaround : MonoBehaviour {
// Use this for initialization
void Start () {
#if UNITY_5_2
RectTransform rt = gameObject.GetComponent<RectTransform>();
rt.transform.localPosition = new Vector3(0,0,0);
#endif
}
// Update is called once per frame
void Update () {
}
}
// =================================
I hope Unity team help us ASAP.
Because my client said "You have to use Unity 5.2.x. and scene crush problem is your miss! Absolutely, you commanded display and inspector crush in some way!!!!"
This issue is not appear for my project historical(4.6->5.1.x).
Please,help...
Sorry bad english from Japan.
garraeth
Oct 02, 2015 01:29
I'm also getting this in 5.2.0f3.
mike_pl
Sep 28, 2015 19:55
Strange, but in 5.2.1f1 Personal I've got this issue on my desktop computer, while on laptop all is OK...
cbdileo
Sep 26, 2015 17:55
This bug exists in 5.2.1f1
velraptor
Sep 26, 2015 17:21
It seems to me that a canvas anywhere in the hierarchy will be reset to anchor in the lower left regardless of where it is set in the inspector. The scaling will also change. When entering playmode, all the canvases are scaled to fit the game window, so positioning my UI elements on a panel nested under the nested canvas (rather than simply positioning them directly on the nested canvas) fixed this issue for me. (Disclaimer: I am quite new to Unity and I may or may not understand exactly what the issue here is. Hopefully this is helpful to someone.)
R.Pete.G
Sep 24, 2015 12:16
Using empty Game Objects into the hierarchy has not fixed this issue for my project.
R.Pete.G
Sep 24, 2015 12:14
Has not been fixed as of 5.2.1f1