Remove Unity zone cache from galaxy model

This commit is contained in:
Meta Vens 2026-06-21 18:57:09 +01:00
commit 73ea4ad5bb
2 changed files with 6 additions and 1 deletions

View file

@ -8144,6 +8144,12 @@ static void RequireUnityObserverDoesNotTickLocalSimulation(string root)
"Unity gameplay must not cache observed runtime zone context on the projected GalaxyZone model.");
}
if (galaxy.Contains("public Zone Contents", StringComparison.Ordinal))
{
throw new InvalidOperationException(
"Projected GalaxyZone must not own Unity runtime Zone contents; observed zone context belongs to the client lowerer.");
}
var contextPrepRendererLoads = FindMethodScopedLineHits(
actionGameManager,
new[] { "LoadDaemonZoneView(", "BindToEntity(" })

View file

@ -743,7 +743,6 @@ public class GalaxyZone
public Dictionary<GalaxyZone, int> Distance;
public Faction[] Factions;
public Faction Owner;
public Zone Contents;
public bool NamedZone;
public List<LocationStory> Locations = new List<LocationStory>();
}