Skip to content

Commit 1bd42e1

Browse files
authored
Feature/enable entity id interest (#477)
* Improvements to UX component * Latency missing includes * Added toggle to replicate less data within ReplicatedComponent_BP * Add disco game state that includes counter object, update to disco scenario specific configs * Increase frequency of client auth movement rpcs * Fix sim clients not moving when waypoints too close together * Update config defaults, including default enabling strategy worker * Add cube spawning config options * Allow UX reporting to work in zoning scenarios with multiple workers * Allow long NFR test timers, enabled for Disco test * Enable client interest in TestGymRepGraph, and nearest n actor nodes * Update defaults to not run strategy worker except in disco scenario
1 parent 0fb2499 commit 1bd42e1

30 files changed

+705
-68
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ Game/Content/Spatial/SchemaDatabase.uasset
2929
# Rider
3030
.idea/
3131
Game/Plugins/Developer/RiderLink
32+
33+
spatial/workers/unreal/spatialos.RoutingWorker.worker.json

Game/Config/DefaultGame.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ MaxSpectators=1000
3030
ClientNetSendMoveDeltaTime=0.0333
3131
ClientNetSendMoveDeltaTimeThrottled=0.0333
3232
ClientNetSendMoveDeltaTimeStationary=0.0333
33+
ClientNetCamUpdateDeltaTime=0.0333
34+
Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,55 @@
11

22

33
[/Script/SpatialGDKEditor.SpatialGDKEditorSettings]
4-
LaunchConfigDesc=(Template="w2_r0500_e5",World=(Dimensions=(X=10000,Y=10000),ChunkEdgeLengthMeters=50,SnapshotWritePeriodSeconds=0,LegacyFlags=(("bridge_qos_max_timeout", "0"),("bridge_soft_handover_enabled", "false"),("bridge_single_port_max_heartbeat_timeout_ms", "3600000")),LegacyJavaParams=()),ServerWorkers=((WorkerTypeName="UnrealWorker"),(WorkerTypeName="NPCWorker",NumEditorInstances=0)))
4+
bGenerateDefaultLaunchConfig=True
55
StandardRuntimeVersion=(bUseGDKPinnedRuntimeVersionForLocal=True,bUseGDKPinnedRuntimeVersionForCloud=True,LocalRuntimeVersion="",CloudRuntimeVersion="")
6-
bDeleteDynamicEntities=True
6+
bShutdownRuntimeGracefullyOnPIEExit=False
7+
bUseGDKPinnedInspectorVersion=True
8+
InspectorVersionOverride=
9+
SpatialOSLaunchConfig=(FilePath="")
10+
ExposedRuntimeIP=
11+
bAutoStartLocalDeployment=True
12+
bSpatialDebuggerEditorEnabled=False
13+
bEnableSessionLogRecording=False
714
AutoStopLocalDeployment=OnEndPIE
15+
bDeleteDynamicEntities=True
16+
bStopPIEOnTestingCompleted=True
17+
SpatialOSSnapshotToSave=default.snapshot
18+
SpatialOSSnapshotToLoad=default.snapshot
19+
CookAndGeneratePlatform=
20+
CookAndGenerateAdditionalArguments=-cookall -unversioned
21+
AssemblyName=
22+
PrimaryDeploymentName=
23+
PrimaryLaunchConfigPath=(FilePath="")
24+
SnapshotPath=(FilePath="C:/Unreal/TestGyms/spatial/snapshots/default.snapshot")
25+
PrimaryDeploymentRegionCode=US
26+
MainDeploymentCluster=
27+
DeploymentTags=
28+
bIsAutoGenerateCloudConfigEnabled=True
29+
bBuildAndUploadAssembly=True
30+
AssemblyBuildConfiguration=Development
31+
bForceAssemblyOverwrite=False
32+
bBuildClientWorker=False
33+
bGenerateSchema=False
34+
bGenerateSnapshot=False
35+
BuildServerExtraArgs=
36+
BuildClientExtraArgs=
37+
BuildSimulatedPlayerExtraArgs=
38+
DevelopmentAuthenticationToken=
39+
bConnectServerToCloud=False
40+
ListeningAddress=127.0.0.1
41+
SimulatedPlayerDeploymentRegionCode=US
42+
SimulatedPlayerCluster=
43+
bSimulatedPlayersIsEnabled=False
44+
SimulatedPlayerDeploymentName=
45+
NumberOfSimulatedPlayers=0
46+
bMobileOverrideConnectionFlow=False
47+
MobileConnectionFlow=LocalDeployment
48+
MobileRuntimeIPOverride=
49+
MobileWorkerType=UnrealClient
50+
MobileExtraCommandLineArgs=
51+
bPackageMobileCommandLineArgs=True
52+
bStartPIEClientsWithLocalLaunchOnDevice=False
53+
LaunchConfigDesc=(bUseDefaultTemplateForRuntimeVariant=True,Template="w2_r0500_e5",RuntimeFlags=(),ServerWorkerConfiguration=(WorkerTypeName="UnrealWorker",Flags=(("total_players", "8"),("player_density", "2")),WorkerPermissions=(bAllowEntityCreation=True,bAllowEntityDeletion=True,bDisconnectWorker=True,bReserveEntityID=True,bAllowEntityQuery=True,bDisableEntityQueryRestrictedComponents=False,bAllowSystemEntityCommand=True),bAutoNumEditorInstances=True,NumEditorInstances=0,bManualWorkerConnectionOnly=False),AdditionalWorkerConfigs=,World=(Dimensions=(X=10000,Y=10000)),MaxConcurrentWorkers=1000)
54+
SpatialOSNetFlowType=LocalDeployment
855

Game/Config/DefaultSpatialGDKSettings.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ bEnableHandover=True
1414
MaxNetCullDistanceSquared=0.000000
1515
QueuedIncomingRPCWaitTime=1.000000
1616
QueuedOutgoingRPCWaitTime=30.000000
17-
PositionUpdateFrequency=1.000000
18-
PositionDistanceThreshold=100.000000
1917
bEnableMetrics=True
2018
bEnableMetricsDisplay=False
2119
MetricsReportRate=2.000000
@@ -54,4 +52,6 @@ bUseSecureClientConnection=False
5452
bUseSecureServerConnection=False
5553
bEnableClientQueriesOnServer=False
5654
EventTracingSamplingSettingsClass=BlueprintGeneratedClass'/Game/EventTracing/BP_ETSamplingSettings_Default.BP_ETSamplingSettings_Default_C'
55+
bEnableMultiWorker=True
56+
bRunStrategyWorker=False
5757

Game/Config/NFROverrides/DefaultSpatialGDKSettings.diff.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@ bEnableNetCullDistanceFrequency=True
33
SpatialDebugger=None
44
bEnableMetricsDisplay=False
55
PositionUpdateLowerThresholdSeconds=2.0
6-
PositionUpdateLowerThresholdCentimeters=3000.0
6+
PositionUpdateLowerThresholdCentimeters=15000.0
7+
PositionUpdateThresholdMaxCentimeters=20000.0
8+
PositionUpdateThresholdMaxSeconds=300.0
9+
ClientDownstreamWindowSizeBytes=4194304
10+
ClientUpstreamWindowSizeBytes=4194304
11+
ServerDownstreamWindowSizeBytes=4194304
12+
ServerUpstreamWindowSizeBytes=4194304
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)