Errors on Importing movement pack and UCC integration package?

Hi I have imported Behavior Designer package latest version 1.7.12 to my Unity Project. I am using Unity 2021.3.43f1 no errors so far... however when I import the latest movement pack 1.6.2 I get the following error on import:

Code:
Assets\Behavior Designer Movement\Scripts\Tasks\WithinDistance.cs(144,56): error CS7036: There is no argument given that corresponds to the required formal parameter 'drawDebugRay' of 'MovementUtility.LineOfSight(Transform, Vector3, GameObject, Vector3, bool, int, bool)'

I am aiming to use it with the UCC character controller (3.1.2r1) I downloaded the integration package I get the following errors on import:

Code:
Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\BehaviorDesignerIntegration.cs(11,32): error CS0234: The type or namespace name 'Managers' does not exist in the namespace 'Opsive.Shared.Editor' (are you missing an assembly reference?)

Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\BehaviorDesignerIntegration.cs(23,48): error CS0246: The type or namespace name 'IntegrationInspector' could not be found (are you missing a using directive or an assembly reference?)

Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\BehaviorDesignerIntegration.cs(22,6): error CS0246: The type or namespace name 'OrderedEditorItemAttribute' could not be found (are you missing a using directive or an assembly reference?)

Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\BehaviorDesignerIntegration.cs(22,6): error CS0246: The type or namespace name 'OrderedEditorItem' could not be found (are you missing a using directive or an assembly reference?)

Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\BehaviorDesignerIntegration.cs(33,30): error CS0115: 'BehaviorDesignerIntegration.ShowIntegration(VisualElement)': no suitable method found to override

Believe scripting updates have been made hence errors. It would be quite lot of work to update the Opsive character controller think would have to recreate the controller to everything set as before so would it be possible to get the old integration and movement package can give invoice no.
 
Last edited:
I'm not sure what is happening. When I create a fresh project to test this out Unity is only giving me the option to download version 1.6.1 of the Movement Pack but when I pull it in it's like a hybrid of 1.6.1 and 1.6.2. That's where the WithinDistance error is coming from - there should be no drawDebugRay parameter.

In any situation I just submitted a new version of the Movement Pack labeled 1.6.2f1 to see if that clears things up.

For the UCC errors that looks like an old version of the integration. Can you download the latest version and try again? I just checked and that one is correct.
 
I'm not sure what is happening. When I create a fresh project to test this out Unity is only giving me the option to download version 1.6.1 of the Movement Pack but when I pull it in it's like a hybrid of 1.6.1 and 1.6.2. That's where the WithinDistance error is coming from - there should be no drawDebugRay parameter.

In any situation I just submitted a new version of the Movement Pack labeled 1.6.2f1 to see if that clears things up.

For the UCC errors that looks like an old version of the integration. Can you download the latest version and try again? I just checked and that one is correct.
Thank you for the speedy response and update for the Movement Pack. The update cleared the error on import and now it is working fine. But unfortunately the integration package is still causing those errors. Below is the one I downloaded under behaviour designer downloads thanks.

1741176799834.png
 
That is correct, and I just tried it and it worked. What is the md5 checksum of your download? It should be cb647beb7c9c1cc0292e48efd625df52
 
That is correct, and I just tried it and it worked. What is the md5 checksum of your download? It should be cb647beb7c9c1cc0292e48efd625df52

The download is correct but looking at some recent threads seems like others have had same issue and it was due to updates made with latest controller version 3.2. Does integration work only with latest version? I am using UCC character controller (3.1.2r1). Can’t update at the moment since got everything set up is it possible to get the old package that works with older ucc version?

The latest version of the integration does require version 3.2 of the character controller. I know you said that you are going to start again but if you want to use your existing project make sure you follow these steps when updating:
 
Ahh, that's correct. It does only work with 3.2. I don't keep a history of the integrations so I don't have the old package. But the primary change was the namespace from Opsive.Shared.Editor.UIElements.Managers to Opsive.Shared.Editor.Managers.
 
Ahh, that's correct. It does only work with 3.2. I don't keep a history of the integrations so I don't have the old package. But the primary change was the namespace from Opsive.Shared.Editor.UIElements.Managers to Opsive.Shared.Editor.Managers.
thanks that removed three of the errors only two left are:

Code:
Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\BehaviorDesignerIntegration.cs(23,48): error CS0246: The type or namespace name 'IntegrationInspector' could not be found (are you missing a using directive or an assembly reference?)

Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\BehaviorDesignerIntegration.cs(33,30): error CS0115: 'BehaviorDesignerIntegration.ShowIntegration(VisualElement)': no suitable method found to override

ok using Opsive.UltimateCharacterController.Editor.Managers; adding this removed those last two errors. The demo doesn't seem usable though as the AI agent just goes towards the assault rifle and stands there doing nothing else but I'll explore the sample behaviour tree.
 
Last edited:
Back
Top