Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-174934

Data pack and resource packs are kept in memory after disabling them, preventing from world delete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15.2
    • None
    • Minecraft Version: 1.15.2
      Operating System: Windows 10 (amd64) version 10.0
      Java Version: 1.8.0_51, Oracle Corporation
      Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    • Plausible
    • (Unassigned)

      If you put a data pack, either .zip format or extracted to a folder, Minecraft will keep it in memory and won't allow deleting that world, either from game thru Singleplayer > Select the World > Delete or manually deleting from .minecraft/saves 

      This also accrues with resource packs and doesn't allow deleting them.

      To fix the issue, you have to close the game or restart it.

      When trying to delete a world in-game with this bug, the console log will say this:
      20:06:39.281
      Couldn't delete directory C:\Users\vanjm\AppData\Roaming\.minecraft\saves\datapack tester\datapacks\debug tools\data
      20:06:39.281
      Couldn't delete directory C:\Users\vanjm\AppData\Roaming\.minecraft\saves\datapack tester\datapacks\debug tools
      20:06:39.282
      Couldn't delete directory C:\Users\vanjm\AppData\Roaming\.minecraft\saves\datapack tester\datapacks
      20:06:39.282
      Unsuccessful in deleting contents.
      21:37:34.084
       

            Unassigned Unassigned
            vanjmali Vanja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: