Player desynchronize when you die

Describe the bug: Player desynchronize when you die, I dont understand what is happening so I’ve recorded everything.

When this happen other players can see your character but is not in the same place as you are.

How do you cause this bug?

  • List the steps

Screenshots / video of bug:
Video: BUG - YouTube

Photos:


Which platform: PC

Which input: keyboard + mouse

Your Crayta username: Hisokan

Game seen in (including “Hub” or “Editor for XYZ”):

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible):

Time + date seen: 20/04/2022

Version number (found in Help tab in Settings):

3 Likes

Hey there @Hisokan !

This appears to be similar to a ticket we are currently working. I have opened up a separate issue to see if it relates to the one we are currently working on. Thank you for bringing this to our attention. our Internal team is working hard to get these issues resolved. :muscle:

If you see this issue occur in other games, feel free to list them off here. I will update those tickets. :slight_smile:

1 Like

oh no don’t die in your village, you’ll slip under the cart, and have to whack it away or delete it!

Hey, I have a similar bug with a 2D game based on @ekelrock 2D Time Trial Blueprint. But for me it only occurs after respawning.

1 Like

Hey @QA_Kathel This bug is also happening to me. I’ve tried to figure out how to fix and how this bug works. Seems like when you spawn or respawn, sometimes it desyncronizes making the game unplayable.

It is happening in few 2D games since last big update (Cursed Galleons), to old games (like Super Bizarre Adventure) or new (like Crazy Road or The Infinite Dungeon).

Also I’ve discovered a small way to temporarily fix it inside a gameplay: Press (P) photomode and press it again to return back to normal mode and desynchronization is gone, I hope this info helps with fixing it (it is a super annoying bug).

Thanks!

2 Likes
  1. It seems like a Crayta bug:
    [Server] SpawnUserScript: Spawn at PlayerSpawn x=0 y=20525 z=1125
    [Client] CLIENT spawnUser: x=-6.50433 y=37204.1 z=1036.3

So the client spawns at a totally different position than server

2 Likes

@QA_Kathel it looks that Vilva and Tumbak have more info of the bug. I hope it helps

1 Like

This is a workaround that worked for me. Sometimes the Client spawn is bugged 3 times in a row until it resolves

function SpawnUserScript:_checkUserPosClient(pos)
	local p = self.properties
	if(IsServer()) then
		self:SendToLocal("_checkUserPosClient", pos)
		return
	end
	
	local user = self:GetEntity()
	local player = user:GetPlayer()
	if(player) then
		local clientPos = player:GetPosition()
		local posDifference = math.abs(pos.y, clientPos.y)
		if(posDifference > p.spawnBugTolerance) then
			print("SPAWN BUG: CLIENT pos: ", clientPos)
			self:SendToServer("SpawnInternal")
		end
	end
end
1 Like

Wowzers! Thank you all for that information! This should help out our team investigate that issue further to get that fix out soon! I have updated the ticket with all the information you guys have provided !

I totally appreciate all the team work going on into narrowing down the causes. :slight_smile:

3 Likes

Another note:
This bug also happens in 3D games (every Crayta game?). But in 3D you only see the wrong position for one second after spawning, and then get teleported to the correct position.

1 Like

Hi @Vilva ,

We think this issue may be fixed in the next update as we had a report of a very similar issue with desynchronization that we have addressed. Could you please update us if this is still occurring for you after the update?

Hi @QA_NFraser ,

do you mean the cybotanica update, or an upcoming update?