WelderEngineRevamp icon indicating copy to clipboard operation
WelderEngineRevamp copied to clipboard

Launcher cannot open builds

Open douglasZwick opened this issue 5 years ago • 1 comments

Windows launcher build 0.0.25.2058

  1. Open the launcher via its exe
  2. Try to open a project. It fails because it cannot find the UiWidget library
  3. Open an editor build via its exe. The editor opens properly
  4. Run the "OpenProject" command. It opens another instance of the launcher. In this new instance of the launcher, you are able to open builds

douglasZwick avatar Jan 05 '20 22:01 douglasZwick

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.

jayrulez avatar Feb 21 '22 22:02 jayrulez