mojira.dev
MC-272992

.DS_Store files in datapack and resource pack files cause errors in the game output

.DS_Store files in data pack and resource pack folders are read by the game and cause error and warning messages to appear in the game output log.

How to reproduce:
Launch a Minecraft world with the attached data pack or resource pack installed (On a MacOS computer).
When in game, use the /reload command to reload data packs.
Or use the F3-T command to reload resource packs.
Check the game output log.

Expected Result:
These data and resource packs should cause no error messages in the game output window. The files themselves have no errors.

Observed Result:
Warning and error messages appear in the game output log, caused by .DS_Store files.

Attachments

Comments 6

The game is ignoring the files though, it says that in the logs.

While the game does ignore them in the sense that the datapack works, it floods the game output when trying to debug datapacks.
As a result, you get like 30 "errors" in a fully functional datapack every time you reload it.

I agree that this seems like a valid bug. Error messages which the player can't reasonably do anything about have historically been considered valid (see MC-224728, [MC-269959], MC-265371) while warnings have been considered "not a bug" in at least one instance ([MC-97521]). Given this, I don't think it's a moderator's place to call it invalid.

(Note to Mojang: this bug in a nutshell is "Mac users get annoying errors and warnings when reloading datapacks". That seems like a legitimate issue, no? And the fix is as simple as saying "ignore .DS_Store when loading a datapack". As I'm unskilled in the art of code analysis I unfortunately don't know where precisely that check should go, but I imagine it wouldn't take long for a Mojang employee to find the right place.)

Please update the description to include steps to reproduce this issue, as well as expected VS observed results.

Please also attach any needed commands, datapacks, resourcepacks, screenshots, videos or worlds needed to help reproduce this issue.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

I sincerely hope this resolution is revisited one day, otherwise anytime anyone wants to read the error log of a world with any data packs of significant size which were developed on a Mac, they'll get lots of useless clutter (especially if they reload the packs/the world a lot), unless the pack developer took extra precautions to prevent this.

BirneMann

(Unassigned)

Confirmed

(Unassigned)

1.20.6, 1.21 Pre-Release 3, 1.21 Pre-Release 4

Retrieved