In Progress General [1.8.0] bug - custom race is not respected for dynamically created hero objects when loading a savegame

Users who are viewing this thread

Version number
1.8.0
Branch
Main
Modded/unmodded
Modded

hunharibo

Recruit
Symptom: for all hero objects that are not deserialized straight form xml, but created through code dynamically - including the player hero(!) - lose their custom race when saving then loading back up a savegame file.

Steps to reproduce:
Launch a new game with a custom race selected in the character creation menu.
Load into the campaign map, observe that the agentvisuals of the main party correctly display the custom race's skin.
Save the game
Load the fresh save
The skin of the custom race is replaced by the default human skin on the agentvisuals of the main party.

Same problem happens for wanderers or new heroes that are created from code using templates.
 
Last edited:

MKLVN

Veteran
+1

posted a similar experience in the Modding Q&A thread.

Companions/wanderers haven’t been honoring the Race attribute, even though it is getting parsed somewhere (setting the race to a nonexistent one throws an error).

Unit troop does however honor the race attribute.
 

MArdA TaleWorlds

Community Support & Localization
Community Support
M&BWBWF&SNWVC
Forwarded to the QA team for further investigation. We will reach out again if we need more information. Thanks for reporting and sorry for any inconvenience!
 

MKLVN

Veteran
Forwarded to the QA team for further investigation. We will reach out again if we need more information. Thanks for reporting and sorry for any inconvenience!
You the man! Thanks for the reply.

I messed around with this for an hour or so just last night and had some odd behavior. Happy to provide more info if needed!
 
Top Bottom