I’m a total beginner, so I haven’t done anything other than install Unreal Engine 5 and poke around a bit. I haven’t changed any settings, and I’m using the blank game blueprint right out of the box.
The camera is lagging quite a bit in the editor and during gameplay testing. I’ve made a video so you can see what I’m talking about. (I did find other posts in the forum about a bug caused by the modeling tools plugin. But these symptoms are a bit different.) It is happening in every blueprint project: blank, 1st person, 3rd person, etc.
As far as I can tell it shouldn’t be a hardware issue with my machine specs:
Windows 10 Pro
AMD Ryzen 9 3950X
RAM 64 GB
NVIDIA GeForce RTX 3070 Ti - Driver version 536.23
I’m not overclocking my cpu or gpu or doing anything goofy. Not on purpose anyway.
Can someone help me figure out what’s going on? UE5 laggy camera example
hard to say whats happening,you may use ~->stat unitgrapth (after click play button) and try to find out its there any performance problem.check your windows task manager too
laggy can caused by too many reason,for me,after change my 3080Ti to 4090 and reinstall the system,I find out what cause the periodicity laggy is one of my monitors keep connect and disconnect after I disconnect it in windows setting…
Thanks for your input. It was driving me absolutely nuts. I don’t know what ultimately fixed it, but today it’s not lagging Maybe some other program I had running was interfering, but it’s impossible for me to say which one because I’ve tried recreating the issue to no avail. But hey I can at least be glad it’s gone now.
I think I spoke too soon, and now the stuttering is back. This time I was able to see the hit happening in the stat unitgraph, and I was surprised to see it’s very regular and periodic, like a heartbeat. Again, this is just a fresh project with the default 3rd person blueprint.
Oh my god I figured it out! As a beginner I feel like this is a big win. But why tf is this happening in the first place? It was my VPN, or rather the lack of VPN that was causing the issue. After some googling I discovered the Session Frontend was logging all the errors. I was getting this: LogUdpMessaging: UDP messaging encountered an error. Auto repair routine started for reinitialization
Which led me to a years old Reddit thread.
So I did like they recommended and turned off “Enable Transport” in UDP Messaging in the project settings.
Here’s a video showing how the error goes away when I turn my VPN off.