Hello, I tried this mod and it works on our game but it's having this error:
021-05-17T23:59:47 6132.422 INF RequestToSpawnPlayer: 358, adrian, 5
2021-05-17T23:59:47 6132.430 INF Created player with id=358
Unknown error occurred while loading 'archive:/CAB-a7031c14e08e8e5673e8f5af4e668ae4/CAB-a7031c14e08e8e5673e8f5af4e668ae4'.
(Filename: C:\buildslave\unity\build\Runtime/Serialize/SerializedFile.cpp Line: 204)
The AssetBundle 'alt' can't be loaded because it was not built with the right version or build target.
(Filename: C:\buildslave\unity\build\Modules/AssetBundle/Public/AssetBundleLoadFromAsyncOperation.cpp Line: 445)
2021-05-17T23:59:47 6132.444 ERR Loading AssetBundle "C:/SERVICES/ni5855835_2_SHARE/ftproot/7daystodie/7DaysToDieServer_Data/../Mods\3_Tactical Action Weapons/Resources/alt" failed!
2021-05-17T23:59:47 6132.445 ERR Transform 'Attachments' not found in weapon prefab for leather(Clone).
NullReferenceException: Object reference not set to an instance of an object
at ItemActionZoom.OnModificationsChanged (ItemActionData _data) [0x002df] in <3e05fa90232744e9af23acbb44662871>:0
at ItemAction.StartHolding (ItemActionData _data) [0x00000] in <3e05fa90232744e9af23acbb44662871>:0
at ItemClass.StartHolding (ItemInventoryData _data, UnityEngine.Transform _modelTransform) [0x00041] in <3e05fa90232744e9af23acbb44662871>:0
at Inventory.updateHoldingItem () [0x00112] in <3e05fa90232744e9af23acbb44662871>:0
at Inventory.SetItem (System.Int32 _idx, ItemValue _itemValue, System.Int32 _count) [0x0010b] in <3e05fa90232744e9af23acbb44662871>:0
at Inventory.SetSlots (ItemStack[] _slots, System.Boolean _allowSettingDummySlot) [0x00004] in <3e05fa90232744e9af23acbb44662871>:0
at PlayerDataFile.ToPlayer (EntityPlayer _player) [0x000b0] in <3e05fa90232744e9af23acbb44662871>:0
at GameManager.RequestToSpawnPlayer (ClientInfo _cInfo, System.Int32 _chunkViewDim, PlayerProfile _playerProfile) [0x002a3] in <3e05fa90232744e9af23acbb44662871>:0
at NetPackageRequestToSpawnPlayer.ProcessPackage (World _world, INetConnectionCallbacks _netConnectionCallback) [0x00007] in <3e05fa90232744e9af23acbb44662871>:0
at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000c4] in <3e05fa90232744e9af23acbb44662871>:0
at ConnectionManager.Update () [0x00043] in <3e05fa90232744e9af23acbb44662871>:0
(Filename: <3e05fa90232744e9af23acbb44662871> Line: 0)
I think this might be causing some of us having stuck at the Creating Player stage when logging in. I tried it in our server and every time I log out with a weapon from the mod, next time I log in, I'm stuck in Creating Player and the error message like above shows. It doesn't show in the game console but it's in the logs.
I did, however remove some xml files as well as some lines so that it will only add the Weapons and not the other items like blocks. The only files I have right now are:
\Config
items.xml
item_modifiers.xml
loot.xml
progression.xml
recipes.xml
sounds.xml
traders.xml
Localization.txt
\Resources
\UiAtlases
We can use the weapons no problem, we can also get them as loots and craft them but I'm just wondering if this error is normal and our Creating Player issue is caused by something else because this is the only error like message that I see in our logs.