Keep CultMesh RUDP fragments below MTU

This commit is contained in:
Meta Vens 2026-07-12 07:39:23 +01:00
commit ebed4096de
2 changed files with 3 additions and 3 deletions

View file

@ -231,7 +231,7 @@ namespace GameCult.Eve.UnityScene
ResponseTimeout = TimeSpan.FromSeconds(10),
MessageIdPrefix = "eve-unity",
RudpRuntimeId = _runtimeId,
RudpMaxFragmentBytes = 2048
RudpMaxFragmentBytes = 1024
}
});
_assetSession = CultMesh.SnapshotSession(
@ -244,7 +244,7 @@ namespace GameCult.Eve.UnityScene
ResponseTimeout = TimeSpan.FromSeconds(10),
MessageIdPrefix = "eve-unity-assets",
RudpRuntimeId = $"{_runtimeId}.assets",
RudpMaxFragmentBytes = 2048
RudpMaxFragmentBytes = 1024
},
_networkRegistry);
}

View file

@ -125,7 +125,7 @@ namespace GameCult.Eve.UnityScene
ResponseTimeout = TimeSpan.FromSeconds(10),
MessageIdPrefix = "eve-unity-discovery",
RudpRuntimeId = "eve-unity.discovery",
RudpMaxFragmentBytes = 2048
RudpMaxFragmentBytes = 1024
}
});
return RunNetwork(() => snapshot.FetchDocumentsAsync<EveProviderAdvertisementDocument>())