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
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
Add comment