Corrupt save game - database corrupted?



  • I'm hosting a server and it's been all good for a week straight until every user suddenly began reporting crash issues upon trying to change or add any block. I have some logs below of a player's multiple attempts to do something (and subsequent crashing) after logging in.

    Server encountered an exception:
    
    <size=60.00%>Exception: InvalidCastException
    Message:Unable to cast object of type 'Eco.Gameplay.Stats.ConcretePlayerActions.PlaceAction' to type 'Eco.Stats.IHasSpeciesContext'.
    Source:Eco.Gameplay
    
    System.InvalidCastException: Unable to cast object of type 'Eco.Gameplay.Stats.ConcretePlayerActions.PlaceAction' to type 'Eco.Stats.IHasSpeciesContext'.
       at Eco.Gameplay.LegislationSystem.LawLogic.ActionQueries.SpeciesActionQuery.IsSelected(IPlayerAction action)
       at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
       at Eco.Gameplay.LegislationSystem.LawLogic.Clauses.ActionList.IsAllowed(IPlayerAction action)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
       at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
       at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicRoot.IsAllowed(IPlayerAction action)
       at Eco.Gameplay.Legislation.CreateAtomicAction(IPlayerAction action)
       at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
       at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
       at Eco.Gameplay.Stats.PlayerActionManager`1.CreateAtomicAction(T action)
       at Eco.Gameplay.Stats.ConcretePlayerActions.PlacePlayerActionManager.CreateAtomicAction(User actor, Item placedItem, Vector3i position)
       at Eco.Gameplay.Objects.WorldObjectManager.TryPlaceWorldObject(Player player, WorldObjectItem item, Vector3i pos, Quaternion rot)
       at Eco.Gameplay.Items.WorldObjectItem.<>c__DisplayClass16_1.<OnActRight>b__1()
       at Eco.Gameplay.Items.WorldObjectItem.TryPlaceObject(Player player, Vector3i position, Quaternion rotation, Action successCallback)
       at Eco.Gameplay.Items.WorldObjectItem.<>c__DisplayClass16_0.<OnActRight>b__0(BSONObject response)
       at Eco.Shared.Networking.RPCManager.HandleQueryResponse(BSONObject bson)
       at Eco.Plugins.Networking.Client.<.ctor>b__56_2()</size>
    
    Log File:
    Initialize engine version: 2018.3.12f1 (8afd630d1f5b)
    GfxDevice: creating device client; threaded=1
    Direct3D:
        Version:  Direct3D 11.0 [level 11.1]
        Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03)
        Vendor:   
        VRAM:     6052 MB
        Driver:   25.21.14.1681
    <RI> Initializing input.
    
    <RI> Input initialized.
    
    <RI> Initialized touch support.
    
    UnloadTime: 0.568522 ms
    WARNING: Shader Unsupported: 'Standard' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Standard' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Avatar FADE' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Standard' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Standard' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Pollutable' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Metalness Cutout' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Pollutable FADE' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Metalness FADE' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Pollutable Cutout' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Pollutable Lambert FADE' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Lambert FADE' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Avatar' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/SpeedTree' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/SpeedTree' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Cutout' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/StandardFade' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/StandardFade' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Metalness' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked FADE' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Standard (Vertex Color)' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Standard (Vertex Color)' - Pass 'META' has no vertex shader
    Connecting to 66.142.221.220:4000...
    
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    Eco.Shared.Utils.Log:WriteLine(LocString)
    Eco.Shared.Networking.NetworkClient:ConnectInternal(IPEndPoint)
    Eco.Shared.Networking.NetworkClient:ConnectRoundRobin()
    Eco.Shared.Networking.NetworkClient:HandleIncomingMessage(NetIncomingMessage)
    Eco.Shared.Networking.NetworkClient:<Initialize>b__44_0()
    LZ4.Action:Invoke()
    System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
    LZ4.Action:Invoke()
     
    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    
    WARNING: Shader Unsupported: 'Curved/Triplanar' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Mobile/Diffuse' - Pass 'Meta' has no vertex shader
    WARNING: Shader Unsupported: 'Standard (Specular setup)' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Standard (Specular setup)' - Pass 'META' has no vertex shader
    WARNING: Shader Unsupported: 'Curved/Triplanar Masked Lambert' - Pass 'Meta' has no vertex shader
    Dimensions of color surface does not match dimensions of depth surface
     
    (Filename:  Line: 2511)
    
    Coroutine couldn't be started because the the game object 'MountSpot' is inactive!
    MountSpot:Mount(PlayerBase)
    OtherPlayer:set_Mount(MountSpot)
    Mountable:Mount(Int32, PlayerBase)
    Mountable:UpdateMounts()
    LZ4.Action:Invoke()
    Eco.Shared.View.View:NotifyChanged(String)
    Eco.Shared.View.ViewManager:ReceiveViewUpdate(BSONArray)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 783] 
    (Filename:  Line: 783)
    
    Can't add component 'Rigidbody' to GraniteRubbleSet1Chunk3Object because such a component is already added to the game object!
    UnityEngine.GameObject:AddComponent()
    RubblePiece:Thaw()
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 97] 
    (Filename:  Line: 97)
    
    Coroutine couldn't be started because the the game object 'GraniteRubbleSet1Chunk3Object' is inactive!
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 783] 
    (Filename:  Line: 783)
    
    Attempting to select while already selecting an object.
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogError(Object)
    Assets.UI.Scripts.ChatUI:Deactivate()
    LZ4.Action:Invoke()
    UnityEngine.Events.UnityEvent`1:Invoke(T0)
    TMPro.TMP_InputField:DeactivateInputField()
    TMPro.TMP_InputField:OnDeselect(BaseEventData)
    System.ComponentModel.PropertyChangedEventHandler:Invoke(Object, PropertyChangedEventArgs)
    UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
    UnityEngine.EventSystems.EventSystem:SetSelectedGameObject(GameObject, BaseEventData)
    UnityEngine.EventSystems.PointerInputModule:DeselectIfSelectionChanged(GameObject, BaseEventData)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    UnityEngine.EventSystems.EventSystem:Update()
     
    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    
    Attempting to select while already selecting an object.
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogError(Object)
    Assets.UI.Scripts.ChatUI:Deactivate()
    UnityEngine.Events.InvokableCall`1:Invoke(T1)
    UnityEngine.Events.UnityEvent`1:Invoke(T0)
    TMPro.TMP_InputField:DeactivateInputField()
    TMPro.TMP_InputField:OnDeselect(BaseEventData)
    System.ComponentModel.PropertyChangedEventHandler:Invoke(Object, PropertyChangedEventArgs)
    UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
    UnityEngine.EventSystems.EventSystem:SetSelectedGameObject(GameObject, BaseEventData)
    UnityEngine.EventSystems.PointerInputModule:DeselectIfSelectionChanged(GameObject, BaseEventData)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    UnityEngine.EventSystems.EventSystem:Update()
     
    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    
    Can't add component 'Rigidbody' to LimestoneRubbleSet3Chunk2Object because such a component is already added to the game object!
    UnityEngine.GameObject:AddComponent()
    RubblePiece:Thaw()
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 97] 
    (Filename:  Line: 97)
    
    Unloading 7 Unused Serialized files (Serialized files now loaded: 0)
    
    Unloading 18777 unused Assets to reduce memory usage. Loaded Objects now: 144157.
    Total: 396.626001 ms (FindLiveObjects: 13.660393 ms CreateObjectMapping: 11.437310 ms MarkObjects: 342.748263 ms  DeleteObjects: 28.779413 ms)
    
    Connecting to 66.142.221.220:4000...
    
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    Eco.Shared.Utils.Log:WriteLine(LocString)
    Eco.Shared.Networking.NetworkClient:ConnectInternal(IPEndPoint)
    Eco.Shared.Networking.NetworkClient:ConnectRoundRobin()
    Eco.Shared.Networking.NetworkClient:HandleIncomingMessage(NetIncomingMessage)
    Eco.Shared.Networking.NetworkClient:<Initialize>b__44_0()
    LZ4.Action:Invoke()
    System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
    LZ4.Action:Invoke()
     
    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    
    Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
    
    Unloading 19055 unused Assets to reduce memory usage. Loaded Objects now: 213197.
    Total: 454.801244 ms (FindLiveObjects: 20.966587 ms CreateObjectMapping: 11.290514 ms MarkObjects: 391.992919 ms  DeleteObjects: 30.550602 ms)
    
    Connecting to 66.142.221.220:4000...
    
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    Eco.Shared.Utils.Log:WriteLine(LocString)
    Eco.Shared.Networking.NetworkClient:ConnectInternal(IPEndPoint)
    Eco.Shared.Networking.NetworkClient:ConnectRoundRobin()
    Eco.Shared.Networking.NetworkClient:HandleIncomingMessage(NetIncomingMessage)
    Eco.Shared.Networking.NetworkClient:<Initialize>b__44_0()
    LZ4.Action:Invoke()
    System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
    LZ4.Action:Invoke()
     
    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    
    Can't add component 'Rigidbody' to SandstoneRubbleSet4Chunk1Object because such a component is already added to the game object!
    UnityEngine.GameObject:AddComponent()
    RubblePiece:Thaw()
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 97] 
    (Filename:  Line: 97)
    
    Can't add component 'Rigidbody' to LimestoneRubbleSet3Chunk3Object because such a component is already added to the game object!
    UnityEngine.GameObject:AddComponent()
    RubblePiece:Thaw()
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 97] 
    (Filename:  Line: 97)
    
    Can't add component 'Rigidbody' to LimestoneRubbleSet3Chunk3Object because such a component is already added to the game object!
    UnityEngine.GameObject:AddComponent()
    RubblePiece:Thaw()
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 97] 
    (Filename:  Line: 97)
    
    Can't add component 'Rigidbody' to LimestoneRubbleSet4Chunk2Object because such a component is already added to the game object!
    UnityEngine.GameObject:AddComponent()
    RubblePiece:Thaw()
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    [ line 97] 
    (Filename:  Line: 97)
    
    Can't add component 'Rigidbody' to LimestoneRubbleSet4Chunk3Object because such a component is already added to the game object!
    UnityEngine.GameObject:AddComponent()
    RubblePiece:Thaw()
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    System.ResolveEventHandler:Invoke(Object, ResolveEventArgs)
    Eco.Shared.Networking.RPCManager:TryInvoke(INetClient, Object, String, BSONObject, Object&)
    Eco.Shared.Networking.RPCManager:InvokeOn(INetClient, BSONObject, Object, String)
    Eco.Shared.Networking.RPCManager:HandleReceiveRPC(INetClient, BSONObject)
    NetworkManager:Eco.Shared.Networking.INetworkEventHandler.ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetObject:ReceiveEvent(INetClient, NetworkEvent, BSONObject)
    Eco.Shared.Networking.NetworkClient:Update()
    NetworkManager:Update()
    
    ...
    
    
    
    

Log in to reply