MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
134 stars 171 forks source link

[0.50.01 Nightly] MekTechs generate without portaits. #4898

Closed Tzahr closed 1 month ago

Tzahr commented 1 month ago

Prerequisites and Pre-Issue Checklist

Severity *

Low (Minor/Nuisance): Minor glitches or cosmetic issues that don’t affect gameplay and occur rarely.

Brief Description *

When generating a new company, Mek Techs fail to generate with portaits. Log gives variations of the following error:

16:19:11,319 WARN [mekhq.campaign.personnel.generator.RandomPortraitGenerator] {AWT-EventQueue-0} mekhq.campaign.personnel.generator.RandomPortraitGenerator.generate(RandomPortraitGenerator.java:106) - Failed to generate portrait for Kupaalani McEachin. No possible portraits found.

Techs hired through personnel markets also fail to generate a portrait.

Steps to Reproduce

Can be reproduced on any save - start a new campaign, use the company generator. Mek Techs will generate without portaits.

Operating System *

Windows 11

Java Version *

21.0.3

MekHQ Suite Version *

Free Text (type manually)

Custom MekHQ Version

Nightly 0.50.01 - 621775698d20e6bb8b6ef8d55600a79af7d4593a

Attach Files

mekhq.log

Final Checklist

IllianiCBT commented 1 month ago

Closing as resolved