Page 1 of 1

Player Pack and Weapon Pack

Posted: Mon Jun 21, 2021 10:08 am
by pyatyorochka
Than I enabled player pack, i can't integrate weapon pack to the soldiers. I open Integrate Window in weapon pack, drag the soldier, press "integrate" button, and replace old soldier prefab. But i have this error. than try to play by this soldier:
The FPWeapon: 15 has not been integrated in this player prefab 'MPlayer [Soldier01]'
UnityEngine.Debug:LogError (object)
bl_GunManager:GetGunOnListById (int) (at Assets/MFPS/Scripts/Weapon/Main/bl_GunManager.cs:661)
bl_ClassManager:SetUpClasses (bl_GunManager) (at Assets/Addons/ClassCustomization/Content/Script/Runtime/Main/bl_ClassManager.cs:154)
bl_GunManager:SetupLoadout () (at Assets/MFPS/Scripts/Weapon/Main/bl_GunManager.cs:123)

What i have to do?

Re: Player Pack and Weapon Pack

Posted: Mon Jun 21, 2021 11:59 am
by Lovatto
You have to integrate the weapons in all the player prefabs that you are using (drag each one of them in the integration window and click on the Integrate button),
in this case, the error is because you haven't integrated the weapons in the Player prefab 'MPlayer [Soldier01]' of the Player Pack #1.