-
Notifications
You must be signed in to change notification settings - Fork 80
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
SettingNumberInput crashes in game #798
Comments
I modified string inputs into entity in my mod, and made them changable in level. Theoretically it could be used to replace the current implementation in Everest but it's a bit messy and I remember there are some small bugs in it. https://github.com/WEGFan/Celeste-Trailine/blob/master/Code/UI/ |
I'm pretty sure input OUIs are unsupported outside of the overworld and require a This is what's done for string properties already, though this should probably be documented and/or handled to gray out |
It's here
where string properties get a options button that opens a OuiModOptionString but only if not inGame. You could presumably still try to open a OuiTextEntry (=OuiModOptionString) just as you can open a SettingNumberInput... Or is it this Everest/Celeste.Mod.mm/Mod/Module/EverestModule.cs Lines 721 to 722 in d08681b
that should be guarded against !inGame as well when there's a SettingNumberInputAttribute?
I guess that's what Snip's mentioning too, not generating the button for (Edit: Also I can't read, this is specifically about the attribute after all. Would've been nice to include the code snippet from the zip you built instead of just the binary :D) |
My mods and Everest install are up to date
Yes
I have recreated the bug with only Everest OR a minimum number of mods enabled
Yes
Describe the bug
Trying to change a setting with
SettingNumberInput
while in game crashes.Steps to reproduce
SettingNumberInput
setting. The arguments don't matter.Expected behavior
Given that the number input is an Oui element like the string input, I think the setting just shouldn't show up in game, like with strings. However, reworking the number and string inputs to work in game is the more correct fix, in my opinion.
Operating System
Linux
Everest Version
4896
Mods required to reproduce
Any mod that uses
SettingNumberInput
, which may be none of them? IDK how this hasn't been noticed before.Here's a sample mod.
Additional context
log.txt
The text was updated successfully, but these errors were encountered: