This is the first time I've encountered such an incomprehensible error. Experimentally determined that the game crashes when there is such a code:
FoodStorage1: &~/Part/FoodStorage { ResourceType=Cabbage; DeliveryLocation=[1.64, 0.50] }
FoodConsumer1: &~/Part/FoodConsumer { ResourceType=&../FoodStorage1/ResourceType; Storage=FoodStorage1; OperationalToggle=IsOperational }
A similar design, in the same mod but for a different resource, works without errors:
WaterTank: &~/Part/FoodStorage { ResourceType=WaterBarrel; MaxResources=3; DeliveryLocation=[3.25, 0.50] }
WaterConsumer: &~/Part/FoodConsumer { ResourceType=&../WaterTank/ResourceType; Storage=WaterTank; OperationalToggle=IsOperational }
The error occurs when a part overlaps any part of the ship when installing or dragging, and the annoying thing is that there are no errors in the logbook
I have also established that if there is no supplier of the required resource on the ship at the time of dragging or installing a part, the crash does not occur.