Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2017.3.0f3

Issue ID

1011118

Regression

No

Crash on "CalculateGlobalPosition" when Canvas render mode is set to Screen Space - Camera finding camera in Awake method

uGUI

-

Steps to reproduce:
1. Open user attached project
2. Play the scene
3. Observe the editor crash

Expected result: editor should not crash when canvas worldCamera is assigned in Awake() method

Reproduced in: 2018.2.0a4, 2018.1.0b11, 2017.3.1p4, 2017.2.2p1, 2017.1.3p2

0x00000001408C597E (Unity) CalculateGlobalPosition
0x00000001408C7761 (Unity) Transform::GetPosition
0x00000001417E2133 (Unity) UI::Canvas::AlignCanvasRectTransformWithCamera
0x00000001417E7206 (Unity) UI::Canvas::UpdateCanvasRectTransform
0x00000001417E77A8 (Unity) UI::Canvas::SetCamera
...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.