Closed AdCognitionem closed 1 year ago
Thank you for the report!
The error message seems to suggest there were items with their condition set to NaN in the input slots. I'm not sure how an item's condition can be NaN - looking through the code, there should be checks in place that prevent the condition from being set to NaN in every possible place that could happen. But seeing that this is from a heavily modded game (including code modifications), maybe it could be some mod's causing this?
Do you have any recollection what kind of items might've been in the input slots of the fabricator when this occurred?
Added a check that should prevent crashing if there's items with NaN condition in the input slots: https://github.com/Regalis11/Barotrauma-development/commit/bac25a1e4dfcce18c533a2ecd3655898f321ae60 (commit in our private repo). Doesn't fix the underlying issue of the condition being set to NaN.
Thank you so much! for the quick response, and also for the confirmation.
I had a sneaking suspicion that it's one of the item mods I have added, it's probably gonna be just a process of elimination for me to figure this out, as for the recollection, that's the thing, there is nothing on the fabricator, or maybe at the least nothing directly in the fabricator, its probably on what's in the storage connected to the fab, but I'm also not sure, because whenever I start a new game just to test things out, I immediately go for the fabricator to see if it'll crash the game immediately, because if doesn't, it will eventually , Then I'll have to start a new game to test things again. I don't mind doing this because I love the game.
Again thank you so much, and sorry for the inconvenience.
Tested with Unlimited Fuel Rod mod and found no more issues. Closing ticket.
I have got same Exception
Disclaimers
What happened? Using Fabricator randomly crashes when you use it, if it doesn't crash , then you can play the game normally, and sometimes it depends on the Sub that you're going to use, but eventually when using the same Sub that the Fabricator works on, after a few Stations and missions, it will crash and will keep on crashing, even if you're using the Stations Fabricator.
Reproduction steps
Bug prevalence Happens for the most part, sometimes it works initially but eventually it will do the same error.
Version v1.0.9.0
Which operating system did you encounter this bug on? Windows
Relevant error messages and crash reports