Closed Aiz0 closed 2 years ago
I created a wrapper script for unityhub and unity editor where HOME
is set to another directory and XDG envars are reset.
Doing this solved some problems I've had with unity. I am going to test it, clean up ~/
and add the wrapper scripts to this repository.
I've added the unityhub
wrapper script. I've done a small amount of testing but I still need to test if it works with neovim
now and if building to webGL works.
I did not upload a unity editor wrapper-script since I've been able to add and open projects with unityhub
when I switched to using the wrapper-script.
I discovered some other bugs that I've been able to solve by using the wrapper-script.
By switching to the wrapper-script both these bugs were solved. I need to do further testing while working on my unity-project
To build to webGL i needed to download ncurses5-compat-libs
from the AUR.
The only remaining issue is integration with my editor. Since the other problems where solved by using the wrapper script I'm closing this.
Unity is bad.
Unity Hub
~/.local/UnityHub
directoryUnity Editor
XDG_CONFIG_HOME
and in~/.config
, aswell as inXDG_DATA_HOME
and~/.local/share
which is weird and clogs up my~/
.neovim
.I can probably fix some of these but seriously wtf is this.