beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
222 stars 102 forks source link

Crash on missing model doesnt produce a log #1776

Closed sprunk closed 4 days ago

sprunk commented 4 days ago

ZK has a featuredef with object = "some file that doesn't actually exist" (no file extension specified so probably defaults to 3do if that matters).

Before bc3c70a33f0f0d9a6e156a4be711142d04adedab it produced a warning in the infolog:

[t=00:00:04.208705][f=-000001] Error: could not find a parser for model "core_slicer_dead" (unknown format?)

After bc3c70a33f0f0d9a6e156a4be711142d04adedab it crashes (good) but doesn't produce a warning anymore (bad, no way to track the gameside problem).

The crash is also silent with just Exception: Access violation (0xc0000005) in the infolog so it's extra un-obvious that this is just a content problem. Ideally it would produce a pop-up like e.g. on missing map.