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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment