Space Engineers

Space Engineers

Star Trek Mod Pack 5.8
Chủ đề này đã bị khoá
Bksparkie1 19 Thg05, 2023 @ 3:09am
Critical Error: Items with same keys preventing loading Round Two
as mentioned I am getting the same error mentioned in 2022 MOD_CRITICAL_ERROR: Star Trek Mod Pack 5.0, in file: A:\SteamLibrary\steamapps\workshop\content\244850\2634862322\Data\ST_TransparentMaterials.sbc
MOD PARTIALLY SKIPPED, LOADED ONLY 2/6 PHASES, Following Error occured:
An item with the same key has already been added.
mscorlib
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at VRage.Utils.MyStringHash.GetOrCompute(String str)
at VRage.Game.MyDefinitionBase.Init(MyObjectBuilder_DefinitionBase builder)
at Sandbox.Definitions.MyTransparentMaterialDefinition.Init(MyObjectBuilder_DefinitionBase builder)
at Sandbox.Definitions.MyDefinitionManager.InitDefinition[T](MyModContext context, MyObjectBuilder_DefinitionBase builder)
at Sandbox.Definitions.MyDefinitionManager.InitTransparentMaterials(MyModContext context, DefinitionDictionary`1 outputDefinitions, MyObjectBuilder_TransparentMaterialDefinition[] materials)
at Sandbox.Definitions.MyDefinitionManager.LoadPhase1(MyObjectBuilder_Definitions objBuilder, MyModContext context, DefinitionSet definitionSet, Boolean failOnDebug)
at Sandbox.Definitions.MyDefinitionManager.LoadDefinitions(List`1 contexts, List`1 definitionSets, Boolean failOnDebug, Boolean isPreload)


Did the things mentioned before including clearing cache and redownloading the modpack after unsubing and deleting the folder.

That said, Some items do show up ingame so I am not actually sure how much is not loaded.
< >
Đang hiển thị 1-1 trong 1 bình luận
Qarannia  [nhà phát triển] 22 Thg05, 2023 @ 10:43am 
From what I can gather it seems something in the transparent materials definition may have the same ID as a transparent material loaded by another mod. I can't say for sure, but since my custom transparent materials are pretty specific in regard to Start Trek I have narrowed it down to two possibilities.

One is the "ForceField" and "Invisible" material IDs. If you have any other mods that also use those IDs for custom transparent materials then they're going to clash.

Two is the beam weapon IDs that I use. The more generic ones are Beam_Blue_1 and such like. it's not beyond the realm of possibility that another weapon is also defining those exact same custom transparent materials, though I would be very surprised if that is the case.

Failing that, I'm not really sure what could be causing this error.
< >
Đang hiển thị 1-1 trong 1 bình luận
Mỗi trang: 1530 50