My UE 5.4 project is working great on PC and OSX, but I’m having some wrinkles when deploying my PC build on Steam Deck.
Every single time I run, I get:
“The following component(s) are required to run this program: Microsoft Visual C++ Runtime. Would you like to install them now?”
If I hit yes, then it runs the unreal prereq installer and I get into my game, great.
If I quit and run my game again, I get the same initial popup, and then when I hit “yes” I’m brought to Unreal’s prereq UNinstaller. It uninstalls the prereq…and then my game still opens file.
So it flip flops between installing and uninstalling every other run.
This happens both when deploying with the SteamOS Devkit Client, and when deploying through Steamworks and downloading through the Steam client directly. In Steamworks, I do have the VC++ 2022 redistributable selected.
I am packaging my game with -prereqs (when I don’t, I get the same initial popup but without the option to install now, just an OK button and then the app closes). It also happens when I use a build I just package from the editor with default settings.
Since the game works with the prerequisites uninstalled…seems there is something fishy going on here. Does anyone else see this? Any ideas for what to try?
I wasn’t sure if it was just a problem with my Steam Deck but it’s happening to my teammates as well.
I’m having the same issue on 5.4 and I don’t remember it happening on earlier versions of the engine but I might have just been lucky before. Hopefully someone will reply here with the answer.
Sounds like it’s not just me. I’m curious if this is a ‘broken for everyone’ problem or if anyone out there is running on Deck just fine with 5.4. Even though my team isn’t close to launch, we do a lot of testing on deck and have some playtests coming up, so this bug is troublesome, I’m eager to find a fix or workaround.
Basically we’re opting into the pre-5.4.0 codepath. Is this going to cause problems by using a VC version number mismatched with the prerequisite installer? I don’t know! Steam will handle your prereqs for you and nobody has complained yet. YMMV.