That's just Hogwarts Legacy though, and nothing specific to the Steam Deck. It was an awful buggy mess no matter where/how you played it and the devs basically did next to no bug patching post-launch.
That said, I did play the entirety of the game on the Steam Deck and it was totally fine. The bugs were unrelated to the Steam Deck.
Lucky you. Many of us were not so lucky. My save file is somehow permanently bugged and as of halfway through the game I could not collect any more of the hidden scrolls and the devs just close my bug tickets without any communication or clarification as "duplicate" of some other tickets which were entirely unrelated and was never fixed.