When I go into spectator mode in the new snapshot and go underground the game gets flipped over like if I am upside down if I am inside a building its normal but if I am "inside" a block the glitch occurs.
Edit: I forgot to say but I was in Single Biome, Lush Caves world type. And I used f3+f4 to switch gamemode I am not sure if that matters just some extra information.
Attachments
Comments

could not reproduce
We do not have enough information to find the cause of this issue.
Please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report ([minecraft/crash-reports/crash-<DATE>-client.txt|https://minecrafthopper.net/help/finding-minecraft-data-folder/]
) here.
This issue is being temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
I'm pretty sure thats just normal spectator mode behavior

Please attach a screenshot of this occurring while the F3 debug screen is enabled.
This issue is being temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

As said above, this is a duplicate of MC-220690
Can't reproduce. I went into spectator and it worked fine