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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
ForceX
Feb 20, 2015 13:36
I can confirm this issue is in Unity 4.6.3