"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.

Applies to:Linux with umu-launcher (umu-run)Version range not establishedLutris
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-run fails 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

Easy

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.

  1. Install ProtonPlus. On Arch or CachyOS, after a normal system update:
    Terminalneeds sudo / root
    sudo pacman -S protonplus
  2. In ProtonPlus, download a Proton-GE or Proton-CachyOS build.
  3. Close and reopen Lutris (or your launcher).
  4. 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.
  5. Re-run or reinstall the game.

2.Set PROTONPATH yourself when running by hand

Moderate

Telling umu exactly which Proton to use skips the automatic lookup that is failing.

  1. To use the latest GE-Proton:
    Terminal
    GAMEID=0 PROTONPATH=GE-Proton umu-run game.exe
  2. To use a specific version that sits in ~/.local/share/Steam/compatibilitytools.d, give its folder name:
    Terminal
    GAMEID=0 PROTONPATH=GE-Proton9-5 umu-run game.exe
  3. To use a build in any other folder, give the full path:
    Terminal
    GAMEID=0 PROTONPATH=/path/to/proton-dir umu-run game.exe
  4. 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.d is the better choice.
    Terminal
    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

Moderate

The log output may show why the lookup fails.

  1. Run umu with PROTONPATH left unset and logging switched on.
    Terminal
    GAMEID=0 UMU_LOG=1 umu-run game.exe
  2. Read the output for lookup errors. The man page examples also use UMU_LOG=debug for more detail, though it is not listed as a documented value.

Check that it worked

  • The game or umu-run command starts without the PROTONPATH FileNotFoundError.

If it still fails

  • Run the command from a terminal with UMU_LOG=1 and note the first error before the PROTONPATH message.
  • Check that the Proton folder really exists in ~/.local/share/Steam/compatibilitytools.d and 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

  1. umu(1) manual page · Arch Linux man pages
  2. Frequently asked questions (FAQ)Official · Open-Wine-Components/umu-launcher wiki
  3. Error trying to download DCS · CachyOS Forum