Skip to content

Commit ee98b7a

Browse files
eordanoclaude
andcommitted
fix: skip the Genesis manifest prefetch in local scene development
Local scene development targets a local realm, so the prefetch would reach an external host for a manifest that entrypoint never consumes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwLgyC5zggzth1oggwnBd4
1 parent c263d63 commit ee98b7a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Explorer/Assets/DCL/Infrastructure/Global/Dynamic/RealmController.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,11 @@ public async UniTask SetRealmAsync(URLDomain realm, CancellationToken ct)
135135
try
136136
{
137137
serverAbout.Clear();
138-
worldManifestProvider.PrefetchGenesisManifest(environment, ct);
138+
139+
// Local scene development runs against a local realm and must not reach out to
140+
// the Genesis manifest host.
141+
if (!isLocalSceneDevelopment)
142+
worldManifestProvider.PrefetchGenesisManifest(environment, ct);
139143

140144
GenericDownloadHandlerUtils.Adapter<GenericGetRequest, GenericGetArguments> genericGetRequest = webRequestController.GetAsync(new CommonArguments(url), ct, ReportCategory.REALM);
141145
ServerAbout result = await genericGetRequest.OverwriteFromJsonAsync(serverAbout, WRJsonParser.Unity);

0 commit comments

Comments
 (0)