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
- 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
Add comment