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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #614240