I've faced this error before, but I don't remember exactly how I managed to solve it. Basically all the settings are correct, but when I do "player.load()" it apparently doesn't load the map information and this breaks the game start.
Does anyone have any advice on how I could, for example, debug the load? Knowing the process that happens makes it easier.
If anyone has experienced this problem too, please help me.

Erro