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

Find references crash fix #1947

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zivmaor
Copy link
Contributor

@zivmaor zivmaor commented Oct 8, 2024

Description

Fixes #1946 by only checking language for bytecode 16 and above games.
Based on https://github.com/UnderminersTeam/UndertaleModTool/wiki/Bytecode-version-differences.

Also adds error handling to all functions which use GetReferencesOfObject so if something similar happens again it won't cause the tool to crash.

Caveats

Notes

Replaces #1942.
Thanks to @maxiterr1 for bringing this to my attention.

Copy link

github-actions bot commented Oct 8, 2024

dialog = new(data, results);
dialog.Show();
}
catch (Exception ex)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we somehow trickle the exception type further instead of just having a catchall?

Copy link
Contributor

@Miepee Miepee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blocking accidental merge, core dev can dismiss later if my above comment ends up being void

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

Successfully merging this pull request may close these issues.

UTMT crashes when using "Find unreferenced assets" on Undertale version 1.001
4 participants