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

Game crashes if active resource pack is not in folder #690

Open
JamesTDG opened this issue Jul 16, 2024 · 9 comments
Open

Game crashes if active resource pack is not in folder #690

JamesTDG opened this issue Jul 16, 2024 · 9 comments
Labels
Application Crash Issue related to application crash, a crash report may be included. Bug Something that shouldn't happen. Confirmation required Issue that may not be reproduced, but further confirmation is required, potentially invalid. Filesystem

Comments

@JamesTDG
Copy link

Describe the bug
If you remove a resource zip, or rename a resource pack while it is set to enabled, the game will refuse to launch

To Reproduce

  1. Install a resource pack
  2. Enable it in options
  3. Close the game
  4. Delete or rename the resource pack zip file
  5. Relaunch the game

Recommended fixes
If the game does not detect its last used pack, the game should automatically default to its default texture pack.

@JamesTDG JamesTDG added the Bug Something that shouldn't happen. label Jul 16, 2024
@BenCheung0422
Copy link
Member

Which version were you using? It is not reproducible in the latest version.

@BenCheung0422
Copy link
Member

Also, what crash have you got from that? I believe it is another issue.

@JamesTDG
Copy link
Author

JamesTDG commented Jul 20, 2024 via email

@JamesTDG
Copy link
Author

Uh oh... I really shouldn't use my email to respond...
image-30
As for game version, I think I used the latest dev release

@BenCheung0422
Copy link
Member

From what I can see from the code, I think it is about the issue of the image size (either too small or not aligned to 8) without the context of the resource pack.

@JamesTDG
Copy link
Author

That's odd, because it was caused by me doing these exact steps, and reverting the folder fixes the problem

@BenCheung0422
Copy link
Member

I am not sure, but I still cannot reproduce it even I tried with the one you uploaded on Discord.

@BenCheung0422
Copy link
Member

However, you can indeed edit the file even when it is being used by the game at the same time.

@BenCheung0422
Copy link
Member

If it cannot be reproduced again as it might be another cause, I will close this issue.

@BenCheung0422 BenCheung0422 added Confirmation required Issue that may not be reproduced, but further confirmation is required, potentially invalid. Filesystem labels Aug 27, 2024
@BenCheung0422 BenCheung0422 added the Application Crash Issue related to application crash, a crash report may be included. label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Application Crash Issue related to application crash, a crash report may be included. Bug Something that shouldn't happen. Confirmation required Issue that may not be reproduced, but further confirmation is required, potentially invalid. Filesystem
Projects
None yet
Development

No branches or pull requests

2 participants