Ortographic view not working on Unreal Engine 5

I cannot get the orthographic view to work on the main viewport. It works fine when I’m editing a specific blueprint asset. This problem occurred when I was working on the previous project on the same computer, I finished the project without using the orthographic view and thought it was specific to that project. Then it occurred in this project too.

Edit: I just checked, orthographic view is not working on any of my projects right now, even on the ones that worked before.

Edit 2: Okay, turns out I was zoomed out so far that even grid lines were invisible. I double-clicked an item on the outliner and now I’m zoomed back in. I saw the solution here Orthographic viewports empty?

Thank you,
I had the same problem and the solution you shared worked for me