DesertFoxHU / Grimfield

Grimfield is a turn-based 2D strategy game
2 stars 0 forks source link

Unit confusion #38

Open DesertFoxHU opened 2 years ago

DesertFoxHU commented 2 years ago

Sometimes players able to desync the position of an enemy unit and after that the unit will lose their owner.

InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x00011] in <87d9223270c747b5b01701ee6ec7a104>:0 at ServerSide.PacketHandler.MoveEntity (System.UInt16 clientID, Riptide.Message message) [0x0003c] in :0 at Riptide.Server.OnMessageReceived (Riptide.Message message, Riptide.Connection fromConnection) [0x00038] in <46d6985876f9440cabf0bd147268be12>:0 at Riptide.Server.Handle (Riptide.Message message, Riptide.Transports.HeaderType messageHeader, Riptide.Connection connection) [0x00038] in <46d6985876f9440cabf0bd147268be12>:0 at Riptide.Peer.HandleMessages () [0x0000e] in <46d6985876f9440cabf0bd147268be12>:0 at Riptide.Server.Tick () [0x00011] in <46d6985876f9440cabf0bd147268be12>:0 at ServerSide.NetworkManager.FixedUpdate () [0x00006] in :0

DesertFoxHU commented 2 years ago

Maybe fixed in #39 , requires more testing