"Environment variable not set or is empty: PROTONPATH" in umu-launcher: how to fix it
The error means umu-launcher could not find a Proton build, so `PROTONPATH` ended up unset or empty. Installing a Proton-GE build, selecting it in your launcher, or setting `PROTONPATH` yourself usually fixes it.
On this page
What it means
This message comes from umu-launcher, the tool (umu-run) that runs Windows games with Proton outside of Steam. You usually meet it indirectly, because Lutris and similar programs call umu-run for you.
Before starting a game, umu needs to know which Proton build to use. It looks in ~/.local/share/Steam/compatibilitytools.d for UMU-Proton or GE-Proton. When it finds nothing, PROTONPATH stays unset or empty and the launcher stops with this FileNotFoundError. The umu documentation does not mention this exact message, so the explanation above is pieced together from its docs and a user report.
Symptoms and causes
You are likely dealing with this problem if:
- A game installed through Lutris or another launcher will not start, and the log shows
FileNotFoundError: Environment variable not set or is empty: PROTONPATH. - A Windows game or installer run with
umu-runfails immediately. - In one CachyOS report the error was followed by "Exit with return code 256".
The usual causes, most common first:
- Proton is installed only in a system path
- The umu FAQ shows system-wide builds (for example under
/usr/share/steam/compatibilitytools.d/) being used by passing their path explicitly. That such a build leads to this exact error is an inference, not something the docs state.
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Install a Proton build and select it in your launcher
This is the fix that worked in the CachyOS thread (forum evidence only). It gives the launcher a build that really exists locally.
Before you start: Update your system first with your usual update method. The command below installs only ProtonPlus; do not use pacman -Syu with a package name, because that also upgrades the whole system.
- Install ProtonPlus. On Arch or CachyOS, after a normal system update:
sudo pacman -S protonplus - In ProtonPlus, download a Proton-GE or Proton-CachyOS build.
- Close and reopen Lutris (or your launcher).
- In Lutris, open Preferences and set the default Wine/Proton runner to the build you just installed. Other launchers use different menus, so look for their equivalent runner setting.
- Re-run or reinstall the game.
2.Set PROTONPATH yourself when running by hand
Telling umu exactly which Proton to use skips the automatic lookup that is failing.
- To use the latest GE-Proton:
GAMEID=0 PROTONPATH=GE-Proton umu-run game.exe - To use a specific version that sits in
~/.local/share/Steam/compatibilitytools.d, give its folder name:GAMEID=0 PROTONPATH=GE-Proton9-5 umu-run game.exe - To use a build in any other folder, give the full path:
GAMEID=0 PROTONPATH=/path/to/proton-dir umu-run game.exe - For a build installed system-wide, pass its path. Note that the umu FAQ warns such builds may not be built against the Steam Linux Runtime that umu requires, so a build from
compatibilitytools.dis the better choice.GAMEID=0 PROTONPATH=/usr/share/steam/compatibilitytools.d/proton-ge-custom-bin umu-run foo
3.Run umu with logging on and read the log
The log output may show why the lookup fails.
- Run umu with
PROTONPATHleft unset and logging switched on.GAMEID=0 UMU_LOG=1 umu-run game.exe - Read the output for lookup errors. The man page examples also use
UMU_LOG=debugfor more detail, though it is not listed as a documented value.
Check that it worked
- The game or
umu-runcommand starts without thePROTONPATHFileNotFoundError.
If it still fails
- Run the command from a terminal with
UMU_LOG=1and note the first error before thePROTONPATHmessage. - Check that the Proton folder really exists in
~/.local/share/Steam/compatibilitytools.dand that its name matches what you typed. - Your distribution may change umu's default Proton behaviour through packaging patches, so check your distro's forum or package notes.
- Ask on the umu-launcher issue tracker or your distribution's forum, and include the full log and the command or launcher you used.
Sources
- umu(1) manual page · Arch Linux man pages
- Frequently asked questions (FAQ)Official · Open-Wine-Components/umu-launcher wiki
- Error trying to download DCS · CachyOS Forum