Page 1 of 1

[2.0.66] Crash when calling 'Player::onCharacterDied()' with modded character

Posted: Wed Sep 24, 2025 7:32 pm
by Hallowed
I've been porting the hive mind mod that lets you play as the biters to 2.0.
As part of the mod the player character gets replaced with a biter model. Killing this biter player consistently crashes the game.

Reproduction Steps:
Load factorio with the attached mods
Start a new game with the scenario "Hive Mind Hallowed/Hivemind" added by the mod
Dismiss the text popup with tab
Stand on the left platform to join the biters team
Wait 15 seconds for the game to start
Run '/c game.players[1].character.die()' in the console to force a death (other methods of death result in the same crash, my initial testing found it by getting killed by another player)

Result:
The game crashes

Expected Result:
The death gets handled properly or an error is thrown that should be reported to the mod author

Reproducability:
100%

Re: [2.0.66] Crash when calling 'Player::onCharacterDied()' with modded character

Posted: Wed Sep 24, 2025 9:29 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.