EverestAPI / EverestAPI/Everest
SettingNumberInput crashes in game
- Dominant language
- C#
- Stars
- 516
- Forks
- 106
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 5
Description
### 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
1. Create a mod with a `SettingNumberInput` setting. The arguments don't matter.
2. Enter a level. It doesn't crash in the overworld.
3. Select the setting.
### 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.](https://github.com/user-attachments/files/16371870/uhhhhhhhh.zip)
### Additional context
[log.txt](https://github.com/user-attachments/files/16371892/log.txt)
Contributor guide
Assessment
This issue has not been assessed yet.