WelderEngineRevamp
WelderEngineRevamp copied to clipboard
Launcher cannot open builds
Windows launcher build 0.0.25.2058
- Open the launcher via its exe
- Try to open a project. It fails because it cannot find the UiWidget library
- Open an editor build via its exe. The editor opens properly
- Run the "OpenProject" command. It opens another instance of the launcher. In this new instance of the launcher, you are able to open builds
This is a pretty old issue but I've come across it as well. The issue happens because the working directory of the editor when run from the launcher is the same directory of the launcher. The Resources folder packed there only has resources for the core and the launcher. UiWidget is not packaged for the launcher so this fails. I think a reasonable fix it to allow the launcher to set the working directory of the editor when opening it. I have a fix here in my fork here: https://github.com/WelderUpdates/WelderEngineRevamp/commit/7e3331a104aa7661316286920a8ec2efa9011113
I'll PR it here as well if there is still interest.