Open SavedByGrace251 opened 11 months ago
Randomly when trying to terraform a a section of my map, I recieved this error:
[Error : Unity Log] ArgumentException: An item with the same key has already been added. Key: _TerrainCompiler(Clone) (TerrainComp) Stack trace: System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <834b2ded5dad441e8c7a4287897d63c7>:0) System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) (at <834b2ded5dad441e8c7a4287897d63c7>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Func2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer1[T] comparer) (at :0) System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) (at :0) PlanBuild.Blueprints.TerrainTools.GetCompilerIndicesWithCircle (UnityEngine.Vector3 centerPos, System.Single diameter, PlanBuild.Blueprints.BlockCheck blockCheck) (at <787fcd34337844b082ec8eed172311d8>:0) PlanBuild.Blueprints.Components.TerrainComponent.OnPlacePiece (Player self, Piece piece) (at <787fcd34337844b082ec8eed172311d8>:0) PlanBuild.Blueprints.Components.ToolComponentBase.Player_PlacePiece (On.Player+orig_PlacePiece orig, Player self, Piece piece) (at <787fcd34337844b082ec8eed172311d8>:0) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook?502547708(Player,Piece) (wrapper dynamic-method) Player.DMD(Player,bool,single) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline?-2046458062(Player,bool,single) PlanBuild.Blueprints.Components.ToolComponentBase.Player_UpdatePlacement (On.Player+orig_UpdatePlacement orig, Player self, System.Boolean takeInput, System.Single dt) (at <787fcd34337844b082ec8eed172311d8>:0) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook?-1318353424(Player,bool,single) (wrapper dynamic-method) Player.DMD(Player)
2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <834b2ded5dad441e8c7a4287897d63c7>:0) System.Collections.Generic.Dictionary
1[T] source, System.Func
2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer
Do you still experience this issue?
Randomly when trying to terraform a a section of my map, I recieved this error:
[Error : Unity Log] ArgumentException: An item with the same key has already been added. Key: _TerrainCompiler(Clone) (TerrainComp) Stack trace: System.Collections.Generic.Dictionary:0)
System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable:0)
PlanBuild.Blueprints.TerrainTools.GetCompilerIndicesWithCircle (UnityEngine.Vector3 centerPos, System.Single diameter, PlanBuild.Blueprints.BlockCheck blockCheck) (at <787fcd34337844b082ec8eed172311d8>:0)
PlanBuild.Blueprints.Components.TerrainComponent.OnPlacePiece (Player self, Piece piece) (at <787fcd34337844b082ec8eed172311d8>:0)
PlanBuild.Blueprints.Components.ToolComponentBase.Player_PlacePiece (On.Player+orig_PlacePiece orig, Player self, Piece piece) (at <787fcd34337844b082ec8eed172311d8>:0)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook?502547708(Player,Piece)
(wrapper dynamic-method) Player.DMD(Player,bool,single)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline?-2046458062(Player,bool,single)
PlanBuild.Blueprints.Components.ToolComponentBase.Player_UpdatePlacement (On.Player+orig_UpdatePlacement orig, Player self, System.Boolean takeInput, System.Single dt) (at <787fcd34337844b082ec8eed172311d8>:0)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook?-1318353424(Player,bool,single)
(wrapper dynamic-method) Player.DMD(Player)
2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <834b2ded5dad441e8c7a4287897d63c7>:0) System.Collections.Generic.Dictionary
2[TKey,TValue].Add (TKey key, TValue value) (at <834b2ded5dad441e8c7a4287897d63c7>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable1[T] source, System.Func
2[T,TResult] keySelector, System.Func2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer
1[T] comparer) (at1[T] source, System.Func
2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector) (at