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

Crash on missing scenario components #691

Open
CelticMinstrel opened this issue Mar 8, 2025 · 0 comments
Open

Crash on missing scenario components #691

CelticMinstrel opened this issue Mar 8, 2025 · 0 comments
Labels
bug enhancement game Affects the game, as opposed to the editors scenedit Affects the scenario editor

Comments

@CelticMinstrel
Copy link
Member

The scenario editor (and presumably the game as well) currently fails to load a scenario that is missing some components inside the package. In some cases it even crashes.

For example, deleting a town's talk file will cause a crash. Deleting the special nodes file won't crash but will fail to load.

The scenario editor should ideally be able to load what exists and substitute the missing pieces with nothing. If the special nodes file is missing, there are just no nodes defined. If the talk file is missing, the personalities are all blank and there are no nodes defined.

Of course, loading a partially valid scenario in the game should not happen, but it should at least not crash.

@CelticMinstrel CelticMinstrel added bug enhancement game Affects the game, as opposed to the editors scenedit Affects the scenario editor labels Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement game Affects the game, as opposed to the editors scenedit Affects the scenario editor
Projects
None yet
Development

No branches or pull requests

1 participant