Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failure saving while using relative path #164

Open
CansecoDev opened this issue Jan 23, 2024 · 2 comments
Open

Assertion failure saving while using relative path #164

CansecoDev opened this issue Jan 23, 2024 · 2 comments

Comments

@CansecoDev
Copy link

Using:

  • Windows 11 23H2
  • Latest Development build (Sep 20, 2023)

Description:
Saving while using a relative path for the gamedata shows this error dialog, the map saves without any noticeable issue.

image

Reproduction steps:

  • On the Global preferences select Jedi Knight Jedi Academy.
  • Make sure the Engine Path is set to a relative path: ../../Academy/ for this case.
  • Save a map.
@ensiform
Copy link

This error probably shouldn't happen but I think the absolute path should be entered instead of relying on the relative path since it deals with passing off the path you give to other external tools.

@Garux
Copy link
Owner

Garux commented Jan 24, 2024

I highly doubt that tools were built with relative engine path in mind. One obvious flaw shall be with CWD != binary folder.
Can remove the assert, if everything else file dialog related works for you. Unsure what's the assert point was originally: Gtk file chooser requirement or guard user code from using non absolute path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants