Search Issue Tracker
By Design
Votes
0
Found in
5.4.0f2
Issue ID
817281
Regression
No
Instantiating UI prefab through script causes rescaling
Steps to reproduce:
1. Open attached project "817281.zip"
2. Open scene "repro"
3. In project tab, inspect Image prefab and notice that its scale is (1, 1, 1)
4. Run scene, this will call Intantiate(prefab, parentTransform) to instantiate prefab as child of Canvas
5. Inspect prefab and notice that scale isn't (1, 1, 1)
Reproduced with: 5.4.0f2, 5.5.0a4
5.3 didn't have Instantiate(prefab, parentTransform)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Add comment