You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using DynamicCities in multiplayer, there are key differences in the minimap displays between the host and a client player:
Left: Minimap of the hosting player Right: Minimap of a client player with the same position & zoom
Normally in singleplayer, the two parts of the city minimap (the district overlay and the city centre indicator) load in when the player first enters the area of the city. However when a client enters the city, this console warning message appears:
No SettlementCache found! Unable to create district overlay
This console log originates from this line in MinimapOverlaySystem. The information that places the overlays on the minimap comes from a SettlementsCacheComponent attached to a global settlement cache entity, which is created in the SettlementCachingSystem. This console log shows that the settlement cache entity is only present on the server. This entity has a NetworkComponent attached, meaning that it should theoretically be replicating to all clients, but it is not replicating for an unknown reason.
These minimap issues can be fixed in one of two ways:
Figure out why the entity containing the SettlementsCacheComponent isn't replicating to clients; if the entity was replicating then the system would work as intended even on multiplayer.
Use network events instead of components to communicate overlay information. This route should be used only after exhausting the first route.
The text was updated successfully, but these errors were encountered:
When using DynamicCities in multiplayer, there are key differences in the minimap displays between the host and a client player:
Left: Minimap of the hosting player
Right: Minimap of a client player with the same position & zoom
Normally in singleplayer, the two parts of the city minimap (the district overlay and the city centre indicator) load in when the player first enters the area of the city. However when a client enters the city, this console warning message appears:
No SettlementCache found! Unable to create district overlay
This console log originates from this line in MinimapOverlaySystem. The information that places the overlays on the minimap comes from a SettlementsCacheComponent attached to a global settlement cache entity, which is created in the SettlementCachingSystem. This console log shows that the settlement cache entity is only present on the server. This entity has a
NetworkComponent
attached, meaning that it should theoretically be replicating to all clients, but it is not replicating for an unknown reason.These minimap issues can be fixed in one of two ways:
Figure out why the entity containing the
SettlementsCacheComponent
isn't replicating to clients; if the entity was replicating then the system would work as intended even on multiplayer.Use network events instead of components to communicate overlay information. This route should be used only after exhausting the first route.
The text was updated successfully, but these errors were encountered: