Resonite-Issues icon indicating copy to clipboard operation
Resonite-Issues copied to clipboard

Crash when feeding invalid value into TimeSpanFromX

Open mpmxyz opened this issue 1 year ago • 0 comments

Describe the bug?

NaN inputs to TimeSpanFromX are not handled and cause an exception crashing the user's session. (less lethal but still buggy when triggered by a user action)

To Reproduce

Pick your poison: resrec:///U-TheAutopilot/R-2d57dd91-5adb-4b80-8dfc-0878fadbefa6 Image Any of the TimeFromX nodes are bugged. FireOnChange crashes the session. Call is safer but stops execution within Write.

Expected behavior

Something other than crashing. A default value like 0? An output to indicate invalid inputs? I'm not sure what would be best.

Screenshots

No response

Resonite Version Number

2024.10.8.1349

What Platforms does this occur on?

Windows

What headset if any do you use?

No response

Log Files

Anonymous - 2024.10.8.1349 - 2024-10-15 00_09_56.log This contains the "safer" test clicking the button within two "DEBUG_TEST" entries.

Additional Context

No response

Reporters

No response

mpmxyz avatar Oct 14 '24 22:10 mpmxyz