MirrorNetworking / MirrorNetworking/Mirror
NetworkDiscovery no Fail to execute as scheduled
@JesusLuvsYooh is already working on this.
Since Feb 8, 2024.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 870
- PR merge metrics
- No merged PRs in 30d
Description
When I package to ios and Android real phones, one mobile phone started the service AdvertiseServer, Unity editor could find the server, but the other mobile phone could not find the server, Unity editor started the service AdvertiseServer, both mobile phones could not find the server, error message:
EndOfStreamException: ReadBlittable<System.Int64> not enough data in buffer
to read 8 bytes: [ @ 0/0]
at Mirror.NetworkReader.ReadBlittable[T] () [0x00000] in
<00000000000000000000000000000000>:0
at
Mirror.Discovery.NetworkDiscoveryBase`2[Request,Response].ReceiveGameBroadcastAsync
(System.Net.Sockets.UdpClient udpClient) [0x00000] in
<00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal
(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, System.Object
state, System.Boolean preserveSyncCtx) [0x00000] in
<00000000000000000000000000000000>:0
at
System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run
() [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke
() [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in
<00000000000000000000000000000000>:0
--- End of stack trace from previous
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.