Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The game crashed when entering the building. #2304

Open
Davidliang11292 opened this issue Mar 25, 2024 · 5 comments · May be fixed by #2317
Open

The game crashed when entering the building. #2304

Davidliang11292 opened this issue Mar 25, 2024 · 5 comments · May be fixed by #2317

Comments

@Davidliang11292
Copy link

Describe the bug
I loaded one of my saves, but the game crashed when I entered the building.
To Reproduce
Steps to reproduce the behavior:

  1. Started a new game.
  2. Saved the progress near a building.
  3. Exited and re-entered the game.
  4. Loaded the save and attempted to enter the building.
  5. The game crashed.

Expected behavior
The game should not crash; instead, it should continue to run smoothly.

Screenshots
捕获.PNG

Desktop (please complete the following information):

  • OS: Windows 7
  • Python Version 3.12.2

Additional context
If before entering the building, I navigate to another outdoor scene and then return, upon re-entering the building, the game does not crash.

@JaskRendix
Copy link
Collaborator

Which scenario? Which map? Which building?

@Davidliang11292
Copy link
Author

Which scenario? Which map? Which building?

Any building on any map

@Davidliang11292
Copy link
Author

I recorded a video:
https://github.com/Tuxemon/Tuxemon/assets/152856832/896c591b-a4b5-47f6-957b-dc5987fe77b1

@ultidonki
Copy link
Contributor

I've confirmed this happens - BUT you have to save in the exact same position as shown in @Davidliang11292 's video. If you save eg. outside of the Healing Center, you can enter buildings fine after loading. I've only managed to replicate it when saving outside the mart in spyder_cotton_town.tmx, when I tried it in a few other maps I couldn't replicate it.

This is both with a Tuxemon, and without any tuxemon (teleporting straight to the map, saving and then re-loading).
I have a save file that doesn't work, but I can't see what the issue is, comparing it to a save file that works. I don't see any references to co-ordinates or anything in the save file.

Here's the save file, just in case anyone doesn't believe it won't work, or can't replicate it: If you load it, then go into any building, it'll crash with a similar error to the one @Davidliang11292 posted earlier.
slot2.zip

@Davidliang11292
Copy link
Author

I've confirmed this happens - BUT you have to save in the exact same position as shown in @Davidliang11292 's video. If you save eg. outside of the Healing Center, you can enter buildings fine after loading. I've only managed to replicate it when saving outside the mart in spyder_cotton_town.tmx, when I tried it in a few other maps I couldn't replicate it.

This is both with a Tuxemon, and without any tuxemon (teleporting straight to the map, saving and then re-loading).
I have a save file that doesn't work, but I can't see what the issue is, comparing it to a save file that works. I don't see any references to co-ordinates or anything in the save file.

Here's the save file, just in case anyone doesn't believe it won't work, or can't replicate it: If you load it, then go into any building, it'll crash with a similar error to the one @Davidliang11292 posted earlier.
slot2.zip

Thank you! I wrote a story outline the other day, do you have any suggestions/comments? (Sorry this might be a bit off topic)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants