Search Issue Tracker
Duplicate
Votes
0
Found in
4.6.0b10
Issue ID
613460
Regression
No
Instantiation of a prefab containing a rectTransform is not consistent between Editor and Runtime
Steps to reproduce:
Create a new project. Make a script which instantiates a prefab which is comprised of Panel parent and Text child gameobjects. Then instantiated prefab should be set as a child of Canvas gameobject.
Instantiate the prefab. It will have rectTransform values invalid even though it is set to be a child of Canvas.
If Panel prefab would be drag and dropped into the scene - it would get aligned correctly.
Comments (1)
-
Pavel Popovciuc
Oct 02, 2014 08:17
Issue not resolved in beta 19
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #614240