I started playing on privately hosted servers a bit, but I kept having weird camera glitches that I couldn't find anything on Google about (7 different queries to no avail at all).
Here is a short video which demonstrates the issue: link (EDIT: )
Further background: This doesn't happen on professional servers like Hypixel, neither when I play in LAN. Just on privately hosted servers, the camera glitches occur. To be precise, it happened on my Raspberry Pi server, my server PC and also when hosting on my main PC (localhost). Therefore it can't have to do with performance - my PC is vastly more powerful than the Raspberry, but they behave the same.
I find it quite interesting that playing in LAN works on localhost, but playing on a hosted server on localhost doesn't. Shouldn't that be more or less the same?
Also, on the console, there are no unordinary messages. Nothing like "<Player> moved too quickly" or anything. The server is a pure vanilla server, downloaded directly from minecraft.net. The server is not overloaded, neither CPU-wise nor RAM-wise.
I thought that maybe big servers have plugins that prevent this annoying behavior, but I don't have much experience with hosting servers (only started today). Could a plugin like GlitchPatcher help?
I am very grateful for any ideas on how to solve this. Even guesses would greatly help me out. Thank you very much!
screenshot or description of this glitch without having to download some file from google drive?
I've edited my main post to include a YouTube link, I hope that's better for you. A screenshot can't show the issue, as the glitch happens in an instant.
If you can't watch the video here is a written description: when I move the head on servers, for example when turning around or when looking down, the viewing direction randomly glitches and I instantaneously look into a completely different direction. It only happens when turning the head, I can walk without issues (sprinting as well).
The camera glitch seems to happen more often when the camera is moved quickly (in the 23s video it happened 8 times). When turning head slowly, it's less frequent.
Also: when turning slowly the camera direction doesn't seem to glitch completely random; it seems it often resets to a previous position that it had a few seconds ago. It's as if the server hadn't registered the direction change and resets the client to what it thinks the client is looking at. That can't really be it though, because the issue occurs even when running both the server and the client on one PC.
Another thing I noticed after writing my main post: the glitches happen the more the farther the "network path" is. When I connect to localhost over my public IP, the glitches are worse than when connecting over my local IP (192.168.178.__). And the best is when entering 127.0.0.1 (still not completely gone, but it only happens every minute or so).
Sorry for these walls of texts, I just want to provide as much information as possible so that it's easier for everyone to figure this out
I started playing on privately hosted servers a bit, but I kept having weird camera glitches that I couldn't find anything on Google about (7 different queries to no avail at all).
Here is a short video which demonstrates the issue: link (EDIT: )
Further background: This doesn't happen on professional servers like Hypixel, neither when I play in LAN. Just on privately hosted servers, the camera glitches occur. To be precise, it happened on my Raspberry Pi server, my server PC and also when hosting on my main PC (localhost). Therefore it can't have to do with performance - my PC is vastly more powerful than the Raspberry, but they behave the same.
I find it quite interesting that playing in LAN works on localhost, but playing on a hosted server on localhost doesn't. Shouldn't that be more or less the same?
Also, on the console, there are no unordinary messages. Nothing like "<Player> moved too quickly" or anything. The server is a pure vanilla server, downloaded directly from minecraft.net. The server is not overloaded, neither CPU-wise nor RAM-wise.
I thought that maybe big servers have plugins that prevent this annoying behavior, but I don't have much experience with hosting servers (only started today). Could a plugin like GlitchPatcher help?
I am very grateful for any ideas on how to solve this. Even guesses would greatly help me out. Thank you very much!
I've edited my main post to include a YouTube link, I hope that's better for you. A screenshot can't show the issue, as the glitch happens in an instant.
If you can't watch the video here is a written description: when I move the head on servers, for example when turning around or when looking down, the viewing direction randomly glitches and I instantaneously look into a completely different direction. It only happens when turning the head, I can walk without issues (sprinting as well).
The camera glitch seems to happen more often when the camera is moved quickly (in the 23s video it happened 8 times). When turning head slowly, it's less frequent.
Also: when turning slowly the camera direction doesn't seem to glitch completely random; it seems it often resets to a previous position that it had a few seconds ago. It's as if the server hadn't registered the direction change and resets the client to what it thinks the client is looking at. That can't really be it though, because the issue occurs even when running both the server and the client on one PC.
Another thing I noticed after writing my main post: the glitches happen the more the farther the "network path" is. When I connect to localhost over my public IP, the glitches are worse than when connecting over my local IP (192.168.178.__). And the best is when entering 127.0.0.1 (still not completely gone, but it only happens every minute or so).
Sorry for these walls of texts, I just want to provide as much information as possible so that it's easier for everyone to figure this out