Hey everyone
0 A.D. just crashed when I tried to host a multiplayer session with a friend. I got this error in my log right after I clicked the start game button:
GAME STARTED, ALL INIT COMPLETE
/usr/include/c++/15.1.1/array:210: constexpr std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) [with _Tp = std::pair<unsigned int, unsigned int>; long unsigned int _Nm = 2; reference = std::pair<unsigned int, unsigned int>&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
/usr/bin/0ad: line 9: 38514 Aborted (core dumped) "$pyrogenesis" "$@"
To reproduce:
Go to Multiplayer > Host New Game
Click Continue
Wait for another player to join the game
Click "Start Game"
I don't know if it's a bug in the Arch Linux official build or if it's really 0AD's source code. I tried hosting a multiplayer server without the other player and the problem persists.