﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
3378	Crash on rejoin (percentage of map controlled)	elexis		"If you start a multiplayergame on the skirmish map ""Northern Island (2)"" or ""Neareastern Badlands (4)"" and then rejoin with the other client, you get this crash:

{{{
CCmpTerritoryManager.cpp(538): Assertion failed: ""m_TerritoryTotalPassableCellCount > 0""
Assertion failed: ""m_TerritoryTotalPassableCellCount > 0""
Location: CCmpTerritoryManager.cpp:538 (GetTerritoryPercentage)
}}}

Refs #3321 r16933

That commit initially sets `m_TerritoryTotalPassableCellCount = 0;` but requires `ENSURE(m_TerritoryTotalPassableCellCount > 0);` in the according line.

Sounds like that value should either be serialized or computed again when rejoining.

The serializationtest doesn't fail."	defect	new	Release Blocker	Alpha 19	Core engine			Itms	
