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

Entities become invisible under certain conditions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 14w31a, Minecraft 14w34b, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre5, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre6, Minecraft 1.8.2, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.6, Minecraft 1.8.8, Minecraft 15w32a, Minecraft 15w32b, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w36c, Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 16w04a, Minecraft 16w05b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.4, Minecraft 1.10, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 1.13-pre3, Minecraft 1.13-pre5, Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w08b
    • Operating System: Mac OS X (x86_64) version 10.9.4
      Java Version: 1.6.0_65, Apple Inc.
      OpenGL: NVIDIA GeForce 9400M OpenGL Engine GL version 2.1 NVIDIA-8.24.15 310.90.9.05f01, NVIDIA Corporation
    • Confirmed
    • Entities
    • Very Important

      18w43a - This issue has now gotten worse in 18w43a, appears to happen a lot more frequently

      This report only covers totally invisible mobs. (No distortions or partially invisible). Entities seem to become invisible in several ways in 1.8. In this report one of the ways are described. If any of these things listed below applies to what you are seeing, this is probably the right place, if not then you should probably look in the "related to" list below for the bug you are seeing:

      • It is affected by draw distance.
      • It happens only in or close to always loaded chunks (Spawn chunks or chunks loaded by chunkloaders or portals)
      • It affects most entities, but not items just laying on the ground.
        (Any the above alone is enough)

      The reason that the other related bugs are not covered here is that they are not reproduced in the same way and they don't overlap much from a testing point of view, so it would be confusing to mix them together. However some of the other bugs around are probably heavily related to this one so in case of a fix, they should probably all be looked through. (Things turning invisible)

      Note: Due to recent merge with MC-66683 and also that I got to take over this report, the description here does not yet cover everything. It also needs some cleaning up. This however will be fixed soon. Until then most of the important parts are copied in here, but be sure to have a look at that report if you need extra info. Just make sure to post comments here to get everything in the same place.

      General info

      • Mobs and most other entities become invisible, but will still make sounds and can in some cases be interacted with.
      • The issue covered here is only about mobs becoming totally invisible under certain conditions. It does not cover distorted or partially invisible mobs.

      Conditions for it to occur

      • The entity needs to be loaded in the world while still be out of render distance and can never get unloaded, between the time you leave the area until you come back, for this to occur.
      • It happens using lower render distance settings (2-5) with it being easier to reproduce the lower the render distance is set to.
      • Happens in constantly loaded chunks. (Either spawn chunks or chunks kept loaded by chunkloaders)

      Affected entities

      Most entities are affected by this including:

      • Any creature or mob
      • XP orbs (invisible but I can still pick them up)
      • Empty and filled item frames
      • Boats and any type of minecart
      • Armor stand

      However it seems, from the tests done so far, that items on the ground does not become invisible.

      Reproduce

      This issue is easy to reproduce and is still present in the current release (1.8).
      Here is a video of this being reproduced

      To reproduce this, follow these simple steps (originally described in MC-66683):

      1. Spawn a new world, preferably superflat so that it is easier to see, and at the exact point you spawn, place an armor stand. Record those coordinates. Set your render distance to smallest (2). (Further testing shows that render distance 2 to 5 all cause this issue if the player moves 100 blocks away and back)
      2. Travel exactly 100 blocks in any direction, and remember those coordinates. Place another armor stand there.
      3. Return exactly 100 blocks back in the direction of the first armor stand to find that it is gone.
      4. Teleport to the armor stand(s) (for example: /tp @e[name=Bob] or /tp @e[type=ArmorStand,c=-1]) to see that the armor stands are indeed still present but completely invisible. (Also teleport to item frames/paintings to see that they are present but completely invisible.)
      5. Travel exactly 100 blocks back to the second armor stand to find that it too is gone.
      6. Teleport to the armor stand(s) (for example: /tp @e[name=Bob] or /tp @e[type=ArmorStand,c=-1]) to see that the armor stands are indeed still present but completely invisible. (Also teleport to item frames/paintings to see that they are present but completely invisible.)
      7. Exit out of the world and enter it again and the armor stands/item frames/paintings reappear.
      8. (Optional) Test with traveling more than 100 blocks from spawn, placing armor stands every 100 blocks. You may find that upon returning to the first armor stand, it is still visible, but then repeating step 1 to 4 causes it to disappear again.

      Further Testing:

      1. Create chunk loaders and spread them in any way you like. Make sure you make entity processing chunks by surrounding a chunk with 2 layers of chunks.
      2. Repeat the very first test's procedures, placing the armor stands/paintings/item frames inside the entity processing chunks.

      Further Notes: I tested this with putting one armor stand at the exact point I spawned in a new world. Then I moved 100 blocks away and placed another and kept doing this. At some point, if I move too far out then fly back to spawn, the original ones are visible still. However, if I continue and follow the test procedures again and move only 100 blocks out, they disappear again.

      More notes and further testing (copied from MC-66683)

      Mobs are also disappearing when the player moves away from them, but the distance the player must move from them is different. From my tests I found them to be disappearing upon moving approximately 60 blocks away and coming back to them. It seems also to only occur in always loaded chunks, but of the lazy chunk variety.

      To test this:

      1. Create a new world, superflat is preferred to see what is occuring. Set your render distance to 2.
      2. /summon <mob> ~ ~ ~ {NoAI:1b}
      3. Move exactly 50 blocks straight in any direction.
      4. /summon <mob> ~ ~ ~ {NoAI:1b}
      5. Move 60 blocks further in the same direction.
      6. /summon <mob> ~ ~ ~ {NoAI:1b}
      7. Move 60 blocks back in the opposite direction to return to second mob. /tp @e[type=<mob>,r=10] to see that it is indeed still there but invisible.
      8. Move 60 blocks in the original direction to find that third mob is still there.
      9. Move 60 blocks back in the opposite direction to find mob is still invisible. Continue 50 more blocks to first mob to find that it is still there.
      10. Exiting and entering the world will make invisible mob visible again. Note: dropped items do not seem to have this problem.

        1. 2014-10-08_21.19.16.png
          2014-10-08_21.19.16.png
          135 kB
        2. 2015-10-18_16-11-46.mp4
          7.46 MB
        3. crash-2014-08-08_21.52.12-client.txt
          10 kB
        4. crash-2014-08-19_18.04.44-client.txt
          9 kB
        5. crash-2015-10-12_22.42.07-client.txt
          3 kB
        6. Invisible Item Drops.rar
          104 kB
        7. output_aXzsOs.gif
          output_aXzsOs.gif
          3.35 MB

            Unassigned Unassigned
            cyoor Pierre Waldén
            Votes:
            233 Vote for this issue
            Watchers:
            103 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: