Crashing when I put down dirt after PC crashed


  • My computer overheated and crashed on me and now suddenly the when I go to put dirt down in the world I crash to menu and get this error:

    Caught exception:

    <size=60.00%>Caught exception invoking RPC PlayerInteract on Player!

    Cannot insert duplicate key in unique index '_id'. The duplicate value is '539'.

    Stack:
    at LiteDB.IndexService.AddNode(CollectionIndex index, BsonValue key, Byte level, IndexNode last)
    at LiteDB.IndexService.AddNode(CollectionIndex index, BsonValue key, IndexNode last)
    at LiteDB.LiteEngine.InsertDocument(CollectionPage col, BsonDocument doc, BsonType autoId)
    at LiteDB.LiteEngine.<>c__DisplayClass22_0.<Insert>b__0(CollectionPage col)
    at LiteDB.LiteEngine.Transaction[T](String collection, Boolean addIfNotExists, Func2 action) at LiteDB.LiteEngine.Insert(String collection, BsonDocument doc, BsonType autoId) at LiteDB.LiteCollection1.Insert(T document)
    at Eco.Core.Utils.AtomicAction.SimpleAtomicAction.TryApply()
    at Eco.Core.Utils.AtomicAction.MultiAtomicAction.TryApply()
    at Eco.Core.Utils.AtomicAction.MultiAtomicAction.TryApply()
    at Eco.Gameplay.Items.UsableItemUtils.PlayerPlaceBlock(Type blockType, Vector3i blockPosition, Player player, Boolean replaceBlock, IAtomicAction[] additionalActions)
    at Eco.Gameplay.Items.BlockItem.PlaceBlock(Type blockType, Vector3i targetPos, Player player, Boolean replaceBlock)
    at Eco.Gameplay.Items.BlockItem.OnActRight(InteractionContext context)
    at Eco.Gameplay.Interactions.InteractionExtensions.ExecuteUntilSuccess(IEnumerable`1 results)
    at Eco.Gameplay.Players.Player.PlayerInteract(InteractionInfo info)

    Stack:
    at Eco.Shared.Networking.RPCManager.TryInvoke(Object controller, String methodname, BSONObject bsonArgs, Object& result)
    at Eco.Shared.Networking.RPCManager.InvokeOn(BSONObject bson, Object controller, String methodname)
    at Eco.Shared.Networking.RPCManager.HandleReceiveRPC(INetClient client, BSONObject bson)
    at Eco.Shared.Networking.NetPort.ProcessBuffer()
    at Eco.Shared.Networking.NetPort.Update()
    at Eco.Plugins.Networking.Clients.Client.<.ctor>b__56_0()
    </size>


  • 3
    Posts
    333
    Views
    Log in to reply


  • Same issue I got. Mine happened after a crash as well. I am able to place items down including dirt, but unable to pick things up from the ground, dig, or mine. I am able to remove items from stock piles and add to them with no issue. So seems like a world interaction issue. The error also may involve gas barrels as when i try and remove them from the ground all of them vanish not just the one that I tried to remove.

    Caught exception:

    <size=60.00%>Caught exception invoking RPC PlayerInteract on Player!

    Cannot insert duplicate key in unique index '_id'. The duplicate value is '6879'.

    Stack:
    at LiteDB.IndexService.AddNode(CollectionIndex index, BsonValue key, Byte level, IndexNode last)
    at LiteDB.IndexService.AddNode(CollectionIndex index, BsonValue key, IndexNode last)
    at LiteDB.LiteEngine.InsertDocument(CollectionPage col, BsonDocument doc, BsonType autoId)
    at LiteDB.LiteEngine.<>c__DisplayClass22_0.<Insert>b__0(CollectionPage col)
    at LiteDB.LiteEngine.Transaction[T](String collection, Boolean addIfNotExists, Func2 action) at LiteDB.LiteEngine.Insert(String collection, BsonDocument doc, BsonType autoId) at LiteDB.LiteCollection1.Insert(T document)
    at Eco.Core.Utils.AtomicAction.SimpleAtomicAction.TryApply()
    at Eco.Core.Utils.AtomicAction.MultiAtomicAction.TryApply()
    at Eco.Core.Utils.AtomicAction.MultiAtomicAction.TryApply()
    at Eco.Gameplay.Items.UsableItemUtils.PlayerDeleteBlock(Vector3i blockPosition, Player player, Boolean addToInventory, BlockItem fallbackGiveItem, IAtomicAction[] additionalActions)
    at Eco.Gameplay.Items.ToolItem.PlayerDeleteBlock(Vector3i blockPosition, Player player, Boolean addToInventory, Single calorieMultiplier, BlockItem fallbackGiveItem, IAtomicAction[] additionalActions)
    at Eco.Mods.TechTree.ShovelItem.OnActLeft(InteractionContext context)
    at Eco.Gameplay.Interactions.InteractionExtensions.ExecuteUntilSuccess(IEnumerable`1 results)
    at Eco.Gameplay.Players.Player.PlayerInteract(InteractionInfo info)

    Stack:
    at Eco.Shared.Networking.RPCManager.TryInvoke(Object controller, String methodname, BSONObject bsonArgs, Object& result)
    at Eco.Shared.Networking.RPCManager.InvokeOn(BSONObject bson, Object controller, String methodname)
    at Eco.Shared.Networking.RPCManager.HandleReceiveRPC(INetClient client, BSONObject bson)
    at Eco.Shared.Networking.NetPort.ProcessBuffer()
    at Eco.Shared.Networking.NetPort.Update()
    at Eco.Plugins.Networking.Clients.Client.<.ctor>b__56_0()
    </size>



  • Please report at GitHub EcoIssues, too.

    • ­ Ecoylent is people! Do not replace any meal with Ecoylent!

    EcoIssues at GitHub
    Eco Discord
    SLG support@strangeloopgames.com


3
Posts
333
Views
Log in to reply

Internal error.

Oops! Looks like something went wrong!