But I tried it with vibrant visuals and its fixed it with it on
This x-ray glitch is without vibrant visuals on the bottom and with vibrant visuals on the top with the glass bug.
And also any entity will be invisible when holding it in third person like Beacons, Rails, XP Orbs, Boats, Minecart Chests but not Minecart TNT or Minecart Hoppers which is still an entity.
Also this applies to armor stands as well when you put glass on the arms too.
switch pro controller and graphics set to default and across all worlds
Switch pro controller and it happens in all worlds and the graphics setting is set to default
both docked and hand held mode and it happens it all worlds
Playing it with a switch pro controller.
Just by pressing L or R button really fast made it lag a little in the creative inventory or pressing the X button the Switch Pro controller.