My apologies!
Been meaning to report this since I tested the set_entity_model fix in V1.2.
Does the issue occur in the editor or during gameplay?
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Briefly describe the issue you're experiencing:
When using change_player, the model of the changed player gets lost when transitioning maps, with varying outcomes depending if you swapped with an NPC on the previous map, or with a party member.
NPC on map = player no longer visible at all, can't move at all, errors in terminal (see below).
Party member = you are starting model again, but still the party member (name, stats etc reflect the character you switched to) [ie your name is still Sarah, with Sarah's stats even though the model reverted back to Justin.]
If you print(party) before changing map, you will see the correct model assigned to the member id.
When you print(party) after changing map, you will just see [object:0] against the member id.
Are there any errors in the in-game debug console or external console window?
Using party member does not error.
However, when using an NPC, these display:

Provide the steps necessary to reproduce the issue:
I'll put a barebones project together that's easier to show but essentially....
- have two maps
- have two character models in project, one on starting map
- First, use change_player to become the map NPC
- load map 2
-------
- restart game
- add model to party
- change_player to party member
- print(party) to see eveything fine so far
- load map 2
- print(party) again
- [bonus] print(player.name) to see the name is still correct etc.
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):
BONUS BUG; Lucky you! 😆
I encountered a duplication bug when putting this example project together.
Instructions on how to see it in the project.