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

Players render invisible client-side in a server environment when exiting spectator mode whilst having previously spectated an entity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.1, 1.16.4, 1.16.5, 1.17 Release Candidate 1, 1.17.1, 21w42a, 1.18.1, 22w03a, 1.18.2, 22w18a, 1.19.1
    • Confirmed
    • Networking, Rendering

      The Bug

      In multiplayer, when you switch between spectator and creative, sometimes your character still is transparent after leaving spectator mode. Your hand is invisible in first-person, but in 3rd person your whole body is transparent. You can see the blocks you are holding just fine. Switching between game modes does not fix it, but sneaking does. Other players can still see you like normal. This bug only works in multiplayer.

      Steps to Reproduce

      • Get two players and label them "Player A" and "Player B".
      • Ensure that both players are in creative mode.
      • Get "Player A" to stand still facing "Player B".
      • Have "Player B" summon a husk at their position.
        /summon minecraft:husk ~ ~ ~ {NoAI:1b,Silent:1b}
        
      • Get "Player B" to switch into spectator mode and begin spectating the husk.
        /spectate @e[type=minecraft:husk,limit=1,sort=nearest]
        
      • Get "Player B" to exit spectator mode and enter creative mode whilst still spectating the husk.
      • Get "Player B" to enter third person.
      • Take note as to whether or not "Player B" sees themself as invisible.
      • Take note as to whether or not "Player A" sees "Player B" as invisible.

      Observed Behavior

      Players are invisible client-side in a server environment when exiting spectator mode whilst having previously spectated an entity.

      Expected Behavior

      Players would not be invisible client-side in a server environment when exiting spectator mode whilst having previously spectated an entity.

        1. MC-193571.mp4
          7.07 MB
        2. MC-193571.png
          MC-193571.png
          4.32 MB

            Unassigned Unassigned
            LarsDeSuperKerel Lars van Emmerik
            Votes:
            8 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: