protonscr

Unity crashes every time with SteamVR Plugin in your projects. (Workaround found)

steamvropen
ValveSoftware/SteamVR-for-Linux#145 · opened 2018-10-13 by ghost · updated 2018-12-29 · 4 comments · github
?ghost 2018-10-13 github

Your system information

  • Steam client version (build number or date): Tried 2017, 2018.2, 2018.3 and they all crash
  • Distribution (e.g. Ubuntu): 18.04
  • Graphics driver version (run nvidia-settings): AMD rx 580 driver
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

Steps for reproducing this issue:

  1. Put SteamVR Plugin in your assets folder in Ubuntu and Unity will crash. This is a big issue because development is impossible currently for developing VR in Ubuntu. I had this issue on Ubuntu 16 and Ubuntu 18.04 as well as 2018.2 and 2018.3 Beta Unity. This really needs to get fixed, I can't do anything current;y as far as VR Development in Unity on Ubuntu.

UPDATE: 10.16.18: Workaround
I managed to stop the crashing, so I wanted to post instructions on a fix for all of the Linux/Ubuntu VR developers out there.

First of all, to get this working I downloaded the Linux Unity Hub, you can download this here:
https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.AppImage

If you are using Unity Hub, run it like this:
~/.steam/steam/ubuntu12_32/steam-runtime/run.sh ~/Downloads/./UnityHubSetup.AppImage

If you are new to linux I will explain this as simply as I can:

the ~/Downloads/./UnityHubSetup.AppImage is a path to where your Unity Hub file is. So if it is in your Downloads folder then run the command I just posted.

If you moved the Hub to lets say your Desktop, run this
~/.steam/steam/ubuntu12_32/steam-runtime/run.sh ~/Desktop/./UnityHubSetup.AppImage

CChristophHaag 2018-10-13 github

Random question: Do you run the editor with the steam runtime? I.e.

~/.steam/steam/ubuntu12_32/steam-runtime/run.sh ./Unity

or

~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ./Unity

I heard it helped at least over there https://steamcommunity.com/app/250820/discussions/5/1739964766312945370/

?ghost 2018-10-13 github

I open Unity via Unity Hub

CChristophHaag 2018-10-13 github

That's where the steam runtime run script is supposed to be. If it's not, sorry I don't know why not.

LLyle-Tafoya 2018-12-29 github

This probably belongs on the tracker for https://github.com/ValveSoftware/steamvr_unity_plugin if it's still reproducible. I have had some issues with the SteamVR Unity plugin, but I don't think I've had this specific issue.

Nothing extracted yet.