Search Issue Tracker
Duplicate
Votes
4
Found in
4.6.2p2
Issue ID
673308
Regression
Yes
Setting a RectTransforms parent in Awake, set it's scale to (0,0,0)
To Reproduce:
1. Import the unitypackage attached to the post.
2. Open scene 'PrefabInstantiateTest' & play.
3. Notice that Canvas/HighlightAssignedInCode/Highlight(Clone) scale is set to (0,0,0), even though the prefab scale is (1,1,1).
4. Open script 'HighlightTweener' & uncomment the yield in the IEnumerator.
5. Play, notice that if the parent is set in a frame after awake the scale is correct.
Regression introduced in 4.6.2p1.
Comments (1)
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
- 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
ForceX
Feb 20, 2015 13:36
I can confirm this issue is in Unity 4.6.3