|
Post by lokiare on May 21, 2020 0:52:06 GMT
I get the following error that won't go away when I hit clear when I import the FSM AI:
Assets\Invector-3rdPersonController\Shooter\Scripts\Shooter\vShooterManager.cs(124,23): error CS0234: The type or namespace name 'OnEquipWeaponEvent' does not exist in the namespace 'Invector.vMelee' (are you missing an assembly reference?)
it points to this line:
public vMelee.OnEquipWeaponEvent onEquipWeapon;
Anyone know what I need to do to fix it?
|
|
|
Post by bazeragi on May 21, 2020 8:13:02 GMT
Im getting the same issue! Was all working fine but after updating the shooter to the latest and reimporting both im getting this error :( Can someone please help?!?
|
|
|
Post by bazeragi on May 21, 2020 9:03:04 GMT
Ok so i went and found the event thats missing. For now if you add these changes you can get it to work! We will need some proper solution though :p
So vMeleeManager add this before the class [System.Serializable] public class OnEquipWeaponEvent : UnityEngine.Events.UnityEvent<GameObject, bool> { }
Change the event in there to a OnEquipWeaponEvent and then fix the compile errors ( Will want the weapon object and if its left or right hand )
This should fix your issue!
|
|
|
Post by Invector on May 21, 2020 14:16:13 GMT
You don't need to import the shared files in ThirdPersonController folder if you already have it, just uncheck when importing the FSM AI and it should be fine
|
|
|
Post by lokiare on May 21, 2020 23:06:31 GMT
You don't need to import the shared files in ThirdPersonController folder if you already have it, just uncheck when importing the FSM AI and it should be fine Thanks. Any chance we can get it to detect it so we don't have to uncheck?
|
|
|
Post by Invector on May 22, 2020 13:04:58 GMT
You don't need to import the shared files in ThirdPersonController folder if you already have it, just uncheck when importing the FSM AI and it should be fine Thanks. Any chance we can get it to detect it so we don't have to uncheck? Hmm.... I will try to separated the shared package and create a detection system to ask if you're using the template or not
|
|
|
Post by ozymandiaz on May 23, 2020 10:12:37 GMT
You don't need to import the shared files in ThirdPersonController folder if you already have it, just uncheck when importing the FSM AI and it should be fine when i uncheck the 'Invector-3rdPersonController', OnEquipWeaponEvent error is not shown, but sample scene not working. if i open FSM_AI_Arena, error has appeared when ai character spawn. UnassignedReferenceException: The variable _capsuleCollider of vControlAIMelee has not been assigned.
You probably need to assign the _capsuleCollider variable of the vControlAIMelee script in the inspector.
Invector.vCharacterController.AI.vControlAI.get_isOnNavMesh () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAI.cs:891)
Invector.vCharacterController.AI.vControlAI.Start () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAI.cs:172)
Invector.vCharacterController.AI.vControlAICombat.Start () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAICombat.cs:64)
Invector.vCharacterController.AI.vControlAIMelee.Start () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAIMelee.cs:19)
so if i try to write code for 'if (!_capsuleCollider) return false;' to 'isOnNavMesh' in vControlAI.cs , error not shown but ai character are not fight. it just standing target location. i'm using 2.5.2 of shooter template and 1.1.1 of fsm ai template.
|
|
|
Post by Invector on May 25, 2020 13:45:35 GMT
You don't need to import the shared files in ThirdPersonController folder if you already have it, just uncheck when importing the FSM AI and it should be fine when i uncheck the 'Invector-3rdPersonController', OnEquipWeaponEvent error is not shown, but sample scene not working. if i open FSM_AI_Arena, error has appeared when ai character spawn. UnassignedReferenceException: The variable _capsuleCollider of vControlAIMelee has not been assigned.
You probably need to assign the _capsuleCollider variable of the vControlAIMelee script in the inspector.
Invector.vCharacterController.AI.vControlAI.get_isOnNavMesh () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAI.cs:891)
Invector.vCharacterController.AI.vControlAI.Start () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAI.cs:172)
Invector.vCharacterController.AI.vControlAICombat.Start () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAICombat.cs:64)
Invector.vCharacterController.AI.vControlAIMelee.Start () (at Assets/Invector-AIController/Scripts/AI/AI Controllers/vControlAIMelee.cs:19)
so if i try to write code for 'if (!_capsuleCollider) return false;' to 'isOnNavMesh' in vControlAI.cs , error not shown but ai character are not fight. it just standing target location. i'm using 2.5.2 of shooter template and 1.1.1 of fsm ai template. It's working fine here... try following these steps: - Import ThirdPerson Shooter from the AssetStore into a clean project. - Import the FSM AI but unchecked the ThirdPerson folder - Import the ProjectSettings by going to the menu Invector > Import ProjectSettings.
|
|
baron
Junior vMember

Posts: 48
|
Post by baron on May 25, 2020 22:55:38 GMT
Hahah  I just learned how to make everything work, then started a new project and updated to the latest version and ran into this bug. I tried what was provided above, to import FSM AI without the third person folder and the bug is gone. I tried to import project settings after and it said that "all assets in this package are already in your project" so either that's good, or I'm going to realize that something important is missing in a little while haha. A fix to make them work automatically would be nice. Update: Ah. Yep. All of the ranged weapons are missing from item list data. =/ Was able to drag the shooter item list manually and replace the melee one but I have to wonder what else might be missing. Would really appreciate that fix. Update 2: Also its not recognizing the inventory prefab.  I am updated to the latest version. Won't even let me drag & drop it in. Added the Vinventory script to it and then was able to put it manually, but when I press I it still doesn't open my inventory, even though the input is set to "I" like normal. Went to the shootermelee demo to reference, and unity crashed. Everything loaded in red. Something is definitely wrong.
|
|
|
Post by gwm0130 on Sept 10, 2020 9:03:14 GMT
I am experiencing the same problems after updating the newest 3rd person shooter. Any other solutions yet?
Thank you.
|
|
|
Post by swetaraw7 on Jan 13, 2022 10:21:51 GMT
Today i bought the "Invector Shooter Cover Add-on" but i got some error. Hey can you fix the error please i am stuck in my project ):
'vSeparator' and 'vSeparatorAttribute' could not be found
Assets\Invector-3rdPersonController\Add-ons\Shooter Cover\Scripts\Controller\vCoverController.cs(19,10): error CS0246: The type or namespace name 'vSeparatorAttribute' could not be found (are you missing a using directive or an assembly reference?) Assets\Invector-3rdPersonController\Add-ons\Shooter Cover\Scripts\Controller\vCoverController.cs(19,10): error CS0246: The type or namespace name 'vSeparator' could not be found (are you missing a using directive or an assembly reference?) 
|
|
|
Post by hybridinstinct on Jan 25, 2022 15:35:25 GMT
I have the same error. Did anybody fixed it?
Today i bought the "Invector Shooter Cover Add-on" but i got some error. Hey can you fix the error please i am stuck in my project ):
'vSeparator' and 'vSeparatorAttribute' could not be found
Assets\Invector-3rdPersonController\Add-ons\Shooter Cover\Scripts\Controller\vCoverController.cs(19,10): error CS0246: The type or namespace name 'vSeparatorAttribute' could not be found (are you missing a using directive or an assembly reference?) Assets\Invector-3rdPersonController\Add-ons\Shooter Cover\Scripts\Controller\vCoverController.cs(19,10): error CS0246: The type or namespace name 'vSeparator' could not be found (are you missing a using directive or an assembly reference?) 
|
|