Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.3.1f1
Issue ID
759967
Regression
Yes
Transform.position returns (0.0, 0.0, 0.0) in Awake() and OnEnable() when gameobject parented under a Canvas
To reproduce:
1. Open attached project
2. Open "scrollviewTest" scene
3. Open Console window
4. Play the scene
Actual behavior: in the console there is printed out gameobjects' localPosition and position. LocalPosition values is correct, but position returns (0.0, 0.0, 0.0) in Awake() and OnEnable()
Reproduced with: 5.1.4p1, 5.2.4f1, 5.3.1p2, 5.4.0b1
Not reproduced with: 5.2.1f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment