Attached to this post is a test map to demonstrate the bug. The testing procedure is as follows:
- Go to MAP01 and immediately enable god or noclip so that you won't be kicked back by enemy attacks.
- Notice that the Chaingun Guy sees you. Type "warp -440 -75 0" in the console to trigger the buggy behavior.
- At this point, the Chaingun Guy doesn't seem to have a clue where you are, despite there being a direct line of sight between you and the enemy. As long as you stay close enough to the water but don't go into it, you will not be seen. This is also evident if you enable the fly cheat and float above the surface. You can only make the enemy see you by either submerging yourself into the water, or by going back to the starting point and hoping the enemy gets a clear line of sight.
Tested in GZDoom 3.6.0, g3.7pre-187-g705c87c6c