When in spectator mode, looking through an invisible entity or player allows you to see through water and certain entities.
Related issues
Comments

When in spectator mode, looking through an invisible entity or player allows you to see through water and certain entities.
migrated
(Unassigned)
Unconfirmed
(Unassigned)
1.15.2 Pre-release 2
Retrieved
Please provide a screenshot with the debug screen enabled (hit the
F3
key) demonstrating the issue.