Aiz0 / dotless

My dotless files
2 stars 0 forks source link

Unity sucks ass #7

Closed Aiz0 closed 2 years ago

Aiz0 commented 3 years ago

Unity is bad.

Unity Hub

Unity Editor

I can probably fix some of these but seriously wtf is this.

Aiz0 commented 3 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.

Aiz0 commented 3 years ago

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

Aiz0 commented 3 years ago

To build to webGL i needed to download ncurses5-compat-libs from the AUR.

Aiz0 commented 2 years ago

The only remaining issue is integration with my editor. Since the other problems where solved by using the wrapper script I'm closing this.