o3de / o3de

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
https://o3de.org
Other
7.67k stars 2.19k forks source link

Camera FOV is set incorrectly after Editor restart #14904

Open LB-KacperMetelski opened 1 year ago

LB-KacperMetelski commented 1 year ago

Describe the bug After changing the Viewport FOV via top-right button of the Viewport, and restarting the Editor, the FOV is reverted to the previous state. The FOV change is reflected in the Editor Preferences > Viewport section however it is not saved.

Please note that changing the FOV via Editor Preferences works correctly and the default FOV is saved correctly.

This issue occurs on both Windows and Linux.

Steps to reproduce Steps to reproduce the behavior:

  1. Change the Camera FOV.
  2. Save the level.
  3. Restart the Editor.

Expected behavior Change to the FOV is present.

Actual behavior FOV settings are reverted to the default state.

Screenshots/Video https://user-images.githubusercontent.com/110163473/222458148-58eb55b2-aa9c-40f4-8f9d-2886dafcdacc.mp4

Found in Branch Development

Commit ID from o3de/o3de Repository ba791dc

Desktop/Device (please complete the following information):

hultonha commented 1 year ago

Note: This issue is also related to https://github.com/o3de/o3de/issues/14597 and https://github.com/o3de/o3de/issues/15056. Please see this comment for a description of how to solve - https://github.com/o3de/o3de/issues/15056#issuecomment-1481376817.

It's possible I or someone with viewport experience might have time to fix this but if someone can step-up and create a PR (I'd be happy to review) that would be amazing! 😄