Hi
When running
I do not know what to do
MissingComponentException: There is no 'Animation' attached to the "Hands_Automatic_rifle03 (1)" game object, but a script is trying to access it.
You probably need to add a Animation to the game object "Hands_Automatic_rifle03 (1)". Or your script needs to check if the component is attached before using it.
UnityEngine.Animation.Rewind (System.String name) (at C:/buildslave/unity/build/artifacts/WinEditor/modules/Animation/AnimationsBindings.gen.cs:258)
bl_WeaponAnimation.DrawWeapon () (at Assets/MFPS/Scripts/Weapon/bl_WeaponAnimation.cs:130)
bl_Gun.OnEnable () (at Assets/MFPS/Scripts/Weapon/bl_Gun.cs:167)
UnityEngine.GameObject:SetActive(Boolean)
bl_GunManager:TakeWeapon(GameObject) (at Assets/MFPS/Scripts/Weapon/bl_GunManager.cs:321)
bl_GunManager:Start() (at Assets/MFPS/Scripts/Weapon/bl_GunManager.cs:92)
weapon pack 1
- websbk
- Contributor
- Posts: 180
- Joined: Fri Aug 04, 2017 5:34 pm
https://assetstore.unity.com/packages/3 ... source=aff Here is the asset you need to purchase and import into the project to addon worked correctlyvegame wrote:Hi
When running
I do not know what to do
MissingComponentException: There is no 'Animation' attached to the "Hands_Automatic_rifle03 (1)" game object, but a script is trying to access it.
You probably need to add a Animation to the game object "Hands_Automatic_rifle03 (1)". Or your script needs to check if the component is attached before using it.
UnityEngine.Animation.Rewind (System.String name) (at C:/buildslave/unity/build/artifacts/WinEditor/modules/Animation/AnimationsBindings.gen.cs:258)
bl_WeaponAnimation.DrawWeapon () (at Assets/MFPS/Scripts/Weapon/bl_WeaponAnimation.cs:130)
bl_Gun.OnEnable () (at Assets/MFPS/Scripts/Weapon/bl_Gun.cs:167)
UnityEngine.GameObject:SetActive(Boolean)
bl_GunManager:TakeWeapon(GameObject) (at Assets/MFPS/Scripts/Weapon/bl_GunManager.cs:321)
bl_GunManager:Start() (at Assets/MFPS/Scripts/Weapon/bl_GunManager.cs:92)