Description
Example: https://playcanvas.com/project/1163442/overview/incorrect-screentoworld
(projection and orthographic cameras. Both calculate the left center screen border screenToWorld position 4 times. During initialize, postInitialize, first and second update)
- launch scene
- open dev tools
- reload page
- check logs
camera with perspective projection calculates world position correctly all 4 times
camera with orthographic projection calculates incorrectly during initialize and postInitialize
on the first update only y is calculated correctly
on the second and all subsequent updates x and y are calculated correctly

Platform: Windows
Browser: Chrome
Description
Example: https://playcanvas.com/project/1163442/overview/incorrect-screentoworld
(projection and orthographic cameras. Both calculate the left center screen border screenToWorld position 4 times. During initialize, postInitialize, first and second update)
camera with perspective projection calculates world position correctly all 4 times
camera with orthographic projection calculates incorrectly during initialize and postInitialize
on the first update only y is calculated correctly
on the second and all subsequent updates x and y are calculated correctly
Platform: Windows
Browser: Chrome