I am trying to implement multiplayer to my project but I saw some weird really annoying stuttering on Steam test as you can see in the video. I have tested these conditions (seperatadly and combined) below but there is no change;
I uploaded Unreal default TPS template with advanced steam sessions (just basic lobby code included)
I tried to change packet loss and lag in game but problem neverhappened on local, just happened on Steam in every condition (with lag our without lag)
I watched many server optimization video even Unreal live streams but I cannot see any fixed to my problem.
I uploaded Unreal default TPS template without advanced steam session, just create and find session nodes from Unreal default bp nodes, same problem happening.
I tried on different ethernet connections with different modem, nothing change.
I tried to use net dormancy, dormancy flush, force net update and tried to change net frequency update, net priorty.
I tried to disable replicate movement for default character and made custom replication for actor location (with or without interpolation), nothing change again.
I tried replicated projectile movement, projectiles is working correctly. This bug only happening for pawn with character movement component, I think.
Problem isnt happening on characters which can move with ‘AI move to’. They have already character movement component but there is no problem because of AI move to.
I tried ticked and deticked **‘component replication’ **on character mesh on related blueprint. Nothing change.
- I made every test on Steam server, because I saw this problem only Steam server.
- Also during this problem I cannot any huge difference on ping (it is stable between 5ms - 10ms)
- I saw this bug on client and server (Mostly client). Even I saw this bug sometimes during client is stuttering on server and on itself! IDK why
I just want to add these tutorials which I watched during make multiplayer system with or without advanced session;
Without advanced sessionUnreal Engine 4 - Steam Multiplayer - YouTube
With advanced session
Please help guys, thanks!
Edit solution 1:
I realized something, problem is only happening if we connect on same ethernet connection and during this status ‘out saturation’ in stat net is 100%. But If we connect different location with different ethernet connection, saturation is 0% and problem is not happening. I am digging deeper to find reason.
EDIT 2: I saw ReceivedRawBunch value on stat.net screen changing from 1ms to 4 ms during this stuttering.