The bug
If a resource pack contains an invalid image file as the grass or foliage colormap file, applying this resource pack will cause an error and force all other resource packs to unload.
This is an extreme response to an image being invalid - all other cases of this simply cause that texture file to become the "missing texture" in-game.
How to reproduce
A resource pack that replaces grass.png with an invalid image file is attached to this ticket.
Expected results
Applying this resource pack would not unload all other resource packs.
Actual results
It does.
Further notes
I've also attached a resource pack that replaces the colormap with the missing texture to show the expected results for applying the main resource pack.
Attachments
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm.