SteamVR-for-Linux
SteamVR-for-Linux copied to clipboard
SteamVR's (version 1.23) vrwebhelper.sh script checks for unbound variable the wrong way
Your system information
- Steam client version (build number or date): Aug 20 2022, at 01:17:25
- SteamVR version 1.23
- Distribution (e.g. Ubuntu): NixOS 22.05
- Opted into Steam client beta?: No
- Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
SteamVR's vrwebhelper.sh script gives error for unbound variable, as "set -u" is being set which checks for unbound variables.
/home/username/.local/share/Steam/steamapps/common/SteamVR/bin/vrwebhelper/linux64/vrwebhelper.sh: line 17: STEAMVR_VRENV: unbound variable
Proper way would be to use eg. [ -v STEAMVR_VRENV ] first to test if the variable has been set. This does not trigger the unbound variable error.
Steps for reproducing this issue:
- Launch Steam and Half-Life Alyx
- Get the "Timed out trying to connect to Mongoose" -error, and the above error in terminal output
I was able to launch Half-Life Alyx, by running Steam with: STEAMVR_VRENV="${HOME}/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh" steam