Thank you for sending your save file. It helped me identify exactly what happened.
Your save uses the IndestructibleWall-2 mod. The walls created by that mod have 100,000 health, while the normal concrete walls in your screenshot have only 500 health. The Wave Boss previously had a direct order to reach the Main Locomotive or Shelter, but it was not explicitly programmed to attack structures blocking its route. Because of this, the Boss could become permanently trapped inside a player-built enclosure.
If the Boss was then removed without a normal death being registered, the Wave system could remain stuck at Boss Status: Unknown.
I have now prepared the following fix in test version The Cave 3.1.29:
- Every Boss attack now deals 200 physical damage per hit. Its attack speed, movement speed, health scaling and resistances remain unchanged.
- The Boss now detects and attacks player-owned structures that physically block its current route.
- It will not randomly attack unrelated buildings, belts, rails, nearby structures or natural Cave rocks. It targets only an actual collision obstacle in its path.
- When the Boss first encounters a continuous barrier, a two-minute obstruction timer begins.
- Destroying one wall and reaching another wall does not restart this timer. Multiple wall layers are treated as one continuous barrier.
- The timer is cleared only after the Boss has passed the complete barrier and moved at least eight tiles beyond the last detected obstacle.
- If the Boss is still unable to escape after two minutes, it is removed without being counted as killed. This produces no Boss death, corpse, loot, coins or kill credit.
- The same logical Boss is then immediately queued through a different directional tunnel. It will emerge when that tunnel is ready.
- The replacement keeps the Boss’s remaining health, level, Wave number and Boss sequence. It is not treated as a new or additional Boss.
- After appearing again, it receives a fresh two-minute obstruction timer. Therefore, if someone repeatedly traps it, it will continue relocating through different tunnels every time it remains trapped for two minutes.
- If another mod unexpectedly deletes the Boss without generating a proper death event, the Wave system will also recreate it instead of becoming permanently stuck at “Unknown.”
- The established 15-minute break begins only after the Boss is genuinely killed. There is no overall deadline that automatically completes the Boss encounter.
The same protection has been implemented for both Train Interiors Wave Defense and Shelter Defense.
Please test version 3.1.29 with the same save if possible. If the Boss still becomes permanently stuck, please send me the updated save and I will investigate it further.