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.
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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
This is a duplicate of issue #614240