Eco
Server Crashes
Hey,

I'm running a private Server for some friends of mine. Since the last update 2 updates, the server crashes multiple times with an IndexOutOfBounds-Exception.

Is there any trouble known with such an issue?

After that Exception, there is no possibility for me, to reconnect to the server. I have to restart the server first.

Here is the Exception:

Server encountered an exception:

<size=60.00%>Exception: IndexOutOfRangeException
Message:Index was outside the bounds of the array.
Source:System.Private.CoreLib

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Eco.Shared.Voxel.HashChunkContainer`1.CollectRange(WorldRange worldRange, Queue`1 buffer) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Shared\Voxel\HashChunkContainer.cs:line 107
at Eco.Shared.Voxel.ChunkGrid`1.GetChunks(WorldRange range) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Shared\Voxel\ChunkGrid.cs:line 212
at Eco.World.WorldChunkGrid.GetBSONChunkArray(IWorldObserver observer, BSONArray& chunks, BSONArray& removed) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.World\WorldChunkGrid.cs:line 113
at Eco.World.WorldChunkGrid.GetChunkUpdates(BSONObject bsonObj, IWorldObserver observer) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.World\WorldChunkGrid.cs:line 67
at Eco.Shared.Networking.NetObjectManager.GetObjectUpdates(IEnumerable`1 objects, INetObjectViewer viewer, ClientUpdate[] clientUpdates) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Shared\Networking\NetObjectManager.cs:line 198
at Eco.Plugins.Networking.Client.Update() in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Plugins\Networking\Client.cs:line 401
at Eco.Plugins.Networking.Client.<.ctor>b__71_2() in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Plugins\Networking\Client.cs:line 120</size>

Log File:
Initialize engine version: 2020.3.11f1 (99c7afb366b3)
[Subsystems] Discovering subsystems at path H:/Programme/Steam/steamapps/common/Eco/Eco_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: Radeon RX 590 Series (ID=0x67df)
Vendor:
VRAM: 8171 MB
Driver: 27.20.22021.1002
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 0.595800 ms
start of EcoBootstrap.Initialize
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Assets.Scripts.ComponentSystem.Bootstrap.EcoBootstrap:Initialize(String)
Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean)
Unity.Entities.AutomaticWorldBootstrap:Initialize()

Ignoring invalid [UpdateBefore] attribute on Unity.Scenes.LiveLinkRuntimeSystemGroup targeting Unity.Scenes.SceneSystemGroup.
This attribute can only order systems that are members of the same ComponentSystemGroup instance.
Make sure that both systems are in the same system group with [UpdateInGroup(typeof(Unity.Entities.InitializationSystemGroup)],
or by manually adding both systems to the same group's update list.
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Unity.Entities.ComponentSystemSorter:FindConstraints(Type, SystemElement[])
Unity.Entities.ComponentSystemGroup:GenerateMasterUpdateList()
Unity.Entities.ComponentSystemGroup:RecurseUpdate()
Unity.Entities.DefaultWorldInitialization:AddSystemToRootLevelSystemGroupsInternal(World, IEnumerable`1, Int32)
Assets.Scripts.ComponentSystem.Bootstrap.EcoBootstrap:Initialize(String)
Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean)
Unity.Entities.AutomaticWorldBootstrap:Initialize()

Ignoring invalid [UpdateAfter] attribute on EcoEngine.Rendering.LOD.LODSystem targeting EcoEngine.Rendering.CameraTrackingSystem.
This attribute can only order systems that are members of the same ComponentSystemGroup instance.
Make sure that both systems are in the same system group with [UpdateInGroup(typeof(Unity.Entities.InitializationSystemGroup)],
or by manually adding both systems to the same group's update list.
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Unity.Entities.ComponentSystemSorter:FindConstraints(Type, SystemElement[])
Unity.Entities.ComponentSystemGroup:GenerateMasterUpdateList()
Unity.Entities.ComponentSystemGroup:RecurseUpdate()
Unity.Entities.DefaultWorldInitialization:AddSystemToRootLevelSystemGroupsInternal(World, IEnumerable`1, Int32)
Assets.Scripts.ComponentSystem.Bootstrap.EcoBootstrap:Initialize(String)
Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean)
Unity.Entities.AutomaticWorldBootstrap:Initialize()

end of EcoBootstrap.Initialize
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Assets.Scripts.ComponentSystem.Bootstrap.EcoBootstrap:Initialize(String)
Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean)
Unity.Entities.AutomaticWorldBootstrap:Initialize()

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects.

WwiseUnity: Wwise(R) SDK Version 2019.2.9 Build 7459.
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogFormat(String, Object[])
AkWwiseInitializationSettings:InitializeSoundEngine()
AkInitializer:OnEnable()

WwiseUnity: Setting Plugin DLL path to: H:/Programme/Steam/steamapps/common/Eco/Eco_Data\Plugins\x86_64
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
AkCommonPlatformSettings:get_AkInitializationSettings()
AkWwiseInitializationSettings:InitializeSoundEngine()
AkInitializer:OnEnable()

WwiseUnity: Sound engine initialized successfully.
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
AkWwiseInitializationSettings:InitializeSoundEngine()
AkInitializer:OnEnable()

The referenced script on this Behaviour (Game Object 'Camera') is missing!

The referenced script on this Behaviour (Game Object 'Table') is missing!

The referenced script on this Behaviour (Game Object 'Glow') is missing!

The referenced script on this Behaviour (Game Object 'Glow') is missing!

The referenced script on this Behaviour (Game Object 'Glow') is missing!

Version: 0.9.4.1 beta release-242
RAM: 32655MB Total / 25340MB Free
OS Version: Windows 10 (10.0.19041) 64bit
CPU: AMD Ryzen 9 3900X 12-Core Processor - 24 Cores - 3,793 Ghz
System bit-ness: 64
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)

Failed to initialise Stove SDK
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)

Ambiguous UI component types ignored: SeriesPopupUI,BaseUI,ViewEditorUI,AutoViewUI
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UI.UIManager:Start()

The referenced script on this Behaviour (Game Object '<null>') is missing!
DG.Tweening.DOTween:InitCheck()
DG.Tweening.DOTween:ApplyTo(DOGetter`1, DOSetter`1, T2, Single, ABSTweenPlugin`3)
DG.Tweening.DOTween:To(DOGetter`1, DOSetter`1, Color, Single)
DG.Tweening.DOTweenModuleUI:DOColor(Graphic, Color, Single)
HighlightableUI:Highlight(Boolean)
System.Action`2:Invoke(T1, T2)
Eco.Shared.Utils.ArrayExtensions:ForEachIndex(T[], Action`2)
ChildrenSelectionUI:OnEnable()
MainMenuUI:StartFade(Boolean)
UI.ConnectionUI:GotoState(ConnectState)
UI.ConnectionUI:ManualUpdate()
UI.UIManager:Update()

[ line 1758387816]

[03:30:32.166] Verbinden mit 176.9.102.199:3000...

The referenced script on this Behaviour (Game Object 'HandleRight') is missing!

The referenced script on this Behaviour (Game Object 'SmallWoodenBoatObject') is missing!

The referenced script on this Behaviour (Game Object 'WoodenBargeObject') is missing!

The referenced script on this Behaviour (Game Object 'Center (2)') is missing!

The referenced script on this Behaviour (Game Object 'Back_Left (1)') is missing!

The referenced script on this Behaviour (Game Object 'Root_BoatSmall') is missing!

The referenced script on this Behaviour (Game Object 'Forward_Left (1)') is missing!

The referenced script on this Behaviour (Game Object 'Center (1)') is missing!

The referenced script on this Behaviour (Game Object 'Center (2)') is missing!

The referenced script on this Behaviour (Game Object 'Back_Left (1)') is missing!

The referenced script on this Behaviour (Game Object 'Back_Right') is missing!

The referenced script on this Behaviour (Game Object 'Center (3)') is missing!

The referenced script on this Behaviour (Game Object 'HandleLeft') is missing!

The referenced script on this Behaviour (Game Object 'WoodenBargeObject') is missing!

The referenced script on this Behaviour (Game Object 'Center (1)') is missing!

The referenced script on this Behaviour (Game Object 'Center (4)') is missing!

The referenced script on this Behaviour (Game Object 'Forward_Left (1)') is missing!

The referenced script on this Behaviour (Game Object 'Forward_Right') is missing!

Unable to open archive file: H:/Programme/Steam/steamapps/common/Eco/Eco_Data/StreamingAssets/.unity3d

Failed to read data for the AssetBundle 'StreamingAssets\.unity3d'.

[03:30:40.252] Missing following objects: AirPollutionGeneratorObject, AxeCalorieBuffObject, ClaimStakeObject, CompositeLumberDresserObject, CountryMarkerObject, FederationMarkerObject, FeminineMannequinObject, GlobalCalorieBuffObject, HomesteadMarkerObject, ImmigrationDeskObject, SchoolSupplyStationObject, StudentsDeskObject, TeachersDeskObject, TeachersDeskT3Object, TownMarkerObject
EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
<BuildFromModKit>d__10:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
<ReceiveModData>d__47:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

[03:31:23.849] BuildSfx doesn't support pooling. It may cause problems in runtime. Either add [SupportsPooling] attribute to all it's and it's children components or implement pool supporting interface(s) (IPoolRentAware, IPoolReturnAware). For third-party components you can use PoolingExtensions.RegisterPoolableType. List of components missing pooling support: BuildSfx (DeleteAfterPlaying), BuildSfx (AkSwitch), BuildSfx (AkEvent)
EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
EcoEngine.Pooling.ObjectPool:SetPrefab(PooledObject)
EcoEngine.Pooling.PoolManager:GetOrCreatePool(PooledObject, Boolean)
EcoEngine.Pooling.PooledObjectOwnerExtensions:RentFromPool(PooledObject, Transform, Boolean, IPooledObjectOwner)
MapConfig:SpawnBlockEffect(Vector3i, Block, String, PlayerBase, Nullable`1)
MapConfig:EffectsApplyOnBlockChanged(Vector3i, UInt16, UInt16)
System.Action`3:Invoke(T1, T2, T3)
VoxelWorld:SetBlock(Vector3i, UInt16, Byte, Boolean)
Eco.ComponentSystem.Chunks.ChunkUpdateSystem:OnUpdate()
Unity.Entities.SystemBase:Update()
Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
Unity.Entities.ComponentSystem:Update()
Steamworks.ServerFailedToRespond:Invoke()

[03:32:47.150] Disconnected with error: Server encountered an exception:

<size=60.00%>Exception: IndexOutOfRangeException
Message:Index was outside the bounds of the array.
Source:System.Private.CoreLib

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Eco.Shared.Voxel.HashChunkContainer`1.CollectRange(WorldRange worldRange, Queue`1 buffer) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Shared\Voxel\HashChunkContainer.cs:line 107
at Eco.Shared.Voxel.ChunkGrid`1.GetChunks(WorldRange range) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Shared\Voxel\ChunkGrid.cs:line 212
at Eco.World.WorldChunkGrid.GetBSONChunkArray(IWorldObserver observer, BSONArray& chunks, BSONArray& removed) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.World\WorldChunkGrid.cs:line 113
at Eco.World.WorldChunkGrid.GetChunkUpdates(BSONObject bsonObj, IWorldObserver observer) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.World\WorldChunkGrid.cs:line 67
at Eco.Shared.Networking.NetObjectManager.GetObjectUpdates(IEnumerable`1 objects, INetObjectViewer viewer, ClientUpdate[] clientUpdates) in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Shared\Networking\NetObjectManager.cs:line 198
at Eco.Plugins.Networking.Client.Update() in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Plugins\Networking\Client.cs:line 401
at Eco.Plugins.Networking.Client.<.ctor>b__71_2() in D:\jenkins_agent\workspace\Eco Release\Server\Eco.Plugins\Networking\Client.cs:line 120</size>
EcoEngine.Logging.LogManager:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
NetworkManager:OnClientDisconnected(String, Boolean)
Steamworks.APIDispatchDelegate:Invoke(T, Boolean)
Eco.Shared.Networking.NetworkClient:HandleDisconnect(String)
Eco.Shared.Networking.Udp.UdpDisconnectedHandler:Invoke(Object, DisconnectReason)
Eco.Networking.ENet.ENetUdpClient:OnDisconnected(ENetConnection, DisconnectReason)
Unity.Burst.Intrinsics.StrBoolArray:SetBit(Int32, Int32, Boolean)
Eco.Networking.ENet.ENetUdpPeer:Service(Int32)
<>c__DisplayClass70_0:<Initialize>b__0()
System.InternalCancelHandler:Invoke()
System.Threading.ContextCallback:Invoke(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.InternalCancelHandler:Invoke()

Unloading 9 Unused Serialized files (Serialized files now loaded: 0)

Unloading 11126 unused Assets to reduce memory usage. Loaded Objects now: 133694.
Total: 518.933800 ms (FindLiveObjects: 6.704800 ms CreateObjectMapping: 9.543100 ms MarkObjects: 493.481600 ms DeleteObjects: 9.203800 ms)
< >
Showing 1-7 of 7 comments
Dennis | dlite Sep 4, 2021 @ 6:35am 
Additionally, if i want to reconnect to the server, it's loading the world objects but instantly kicks me out of the server, back to the main menu without any message
Dennis | dlite Sep 4, 2021 @ 6:37am 
Additional II:
The server is running as Docker-Container with Image strangeloopgames/eco-game-server:0.9.4.1-beta but it seems more to be a client issue than server-sided
SLG-Dennis  [developer] Sep 6, 2021 @ 6:35am 
Please send an e-mail to support@strangeloopgames.com with your logfiles attached, as described here: https://github.com/StrangeLoopGames/EcoIssues/wiki/Getting-the-Eco-game-log-file

We'll then take a look :)
N00MRISE Sep 16, 2021 @ 11:50am 
Were you ever able to solve this? I'm getting the same issue with exact same error.
Dennis | dlite Sep 16, 2021 @ 1:02pm 
I resolved the problem, as I explored this discussionboard.
The server has a massive problem with big worlds. My world was ~6km² big and that caused at exact same spot a crash. This was reproduceable. As I created a smaller world the problems were gone.

How to fix existing servers / worlds, I don't have a clue
N00MRISE Sep 16, 2021 @ 1:05pm 
Thanks! I appreciate it!
SLG-Dennis  [developer] Sep 16, 2021 @ 1:23pm 
The maximum supported world size is 4km², anything beyond is on your own risk and not supposed to work - if it does, great, though.
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Sep 4, 2021 @ 6:33am
Posts: 7