Due to a bug in Avorion, after the game has been running for some time (even if returning to the main menu), it will stop being able to open files and crash, which happens faster on dev mode due to opening new files more often.
I'm not sure but I might have I ran into this recently even with dev mode disabled. There may be a few instances where the mod exacerbates this by loading some scripts conditionally, I'm not sure, but it's something to note if it happens again and investigate if there's any way to mitigate this mod side.