MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
295 stars 282 forks source link

Mounted/Loaded units disappearing from carrying units #2096

Open AlphaSled opened 4 years ago

AlphaSled commented 4 years ago

version 47.7

Units that are shown as being mounted or loaded onto other units are not appearing once the game starts. This appears to be happening when a unit list is created and saved then loaded at a later time. Steps to reproduce:

-Add a battle armor, infantry, or magclamp protomech and its transporting unit (whether a vehicle or a battlemech) to the game. -Load the unit to be carried onto the transport. -Save the list, then delete the units from the lobby. -Load the list. -Start the game - the carried units will have vanished.

From my testing, this applies to conventional infantry, battle armor, magclamp battle armor, and magclamp protomechs. It also occurs no matter what type of unit the transport is.

Attached is a saved game where this is tested, and the MUL where the test list was saved.

disappearingBA2.sav.gz test.zip

AaronGullickson commented 4 years ago

I have run across this problem several times as well in 47.7, although its possible its been around longer than that.

One note about the "vanishing." The unit will still show up in the unit queue on the right hand side, but will not show up as being carried by the carrying unit and cannot be unloaded.