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
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
- Visual Effects Graph Blackboard can't be scrolled horizontally
This is a duplicate of issue #614240