Does the issue occur in the editor or during gameplay? If it occurs during gameplay, please specify which movement system is being used (free movement or grid movement):
Gameplay. Both
Briefly describe the issue you're experiencing:
If you equip an item (any/all slot [helmet, shield, weapon]) and then use set_entity_model to change your visual model, upon opening the management window again, all equipment is gone from the slots.
I haven't tested with custom widgets, just the default equipment widget, but this bug was brought to my attention by Chi on the Discord and they were using a custom one initially.
Are there any errors in the in-game debug console or external console window?
No errors
Provide the steps necessary to reproduce the issue:
- Create one or more items of equipment
- make sure there are at least two character models in the project
- quick play
- give item(s)
- open management panel and equip item(s)
- open ingame console, and type
set_entity_model(player, "model");
- re-open management panel to see equipment vanished
Setting entity model back to the initial one does not return the items either.
They are now lost.