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

When spectatorsGenerateChunks is set to false, spectators won't load chunks that are not currently loaded


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 1.15 Pre-release 6, 1.15, 1.15.2, 20w12a, 20w21a, 1.16.1, 1.16.4, 1.16.5, 21w08a, 21w10a, 21w15a, 1.17.1, 1.18 Pre-release 1, 1.18.1, 1.18.2, 1.19, 1.19.1 Pre-release 1, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 23w31a, 23w32a, 23w33a, 1.20.4, 1.20.6, 1.21
    • Confirmed
    • Spectator
    • Chunk loading
    • Important
    • Platform

      The bug

      When the gamerule spectatorsGenerateChunks is set to false, spectators won't be able to load any chunks that aren't currently loaded, even if they have been generated already.

      When first switching into spectator mode, all loaded chunks will stay loaded. But when moving to the edge of currently loaded chunks, new chunks won't load. When moving outside to the currently loaded chunks, it shows 'Waiting for chunk' in the F3 screen. When switching back to creative mode from the same location, all other chunks load.

      When taking another player's view in spectator mode, the same issue still happens.


      This is especially problematic when dying in hardcore mode: when you die, the gamerule spectatorsGenerateChunks is automatically set to false (MC-118963).

        1. Spectator_Outside.png
          1.90 MB
        2. Spectator_Just Switched.png
          Spectator_Just Switched.png
          2.86 MB
        3. Spectator_Edge.png
          1.49 MB
        4. Creative_Switch Back.png
          Creative_Switch Back.png
          2.46 MB
        5. 11131908_Minecraft_1.15.png
          809 kB

            Unassigned Unassigned
            OctupusTea Octupus Tea
            69 Vote for this issue
            31 Start watching this issue