Getting "Button does not contain a definition for primary" error after importing Muse Behaviour

I’m using Unity 2022.3.15f1 and 0.5.7 com.unity.muse.behavior. Getting compile error after importing the package.
Active Input Handling set as Both.
Library/PackageCache/com.unity.muse.common@0.4.1/Runtime/UI/Operators/GenerateOperator.cs(186,41): error CS1061: ‘Button’ does not contain a definition for ‘primary’ and no accessible extension method ‘primary’ accepting a first argument of type ‘Button’ could be found.

If I change Active Input Handling to Input system package (new) will get 3 compile errors. Attached image below.

Any help would be appreciated.

Hi @yathish9158 ,

Sorry about the issue, we’ll look into it! Just FYI most of the team (myself included) are off right now for the holidays but I wanted to make sure you know we’re aware and will be delayed.

1 Like

Hi @yathish9158!

When you have the Active Input Handling set to “Input system package (new)”, have you checked if your project actually has the Input System package installed? To do this, you can go to Package Manager, and search for “Input System” from the Unity Registry. Making sure that the package is installed should fix the errors shown in your screenshot. We’ll hopefully have a fix for this in the next release.

Let me know if installing the package doesn’t help, and I’ll try my best to help you further. :slightly_smiling_face:

1 Like

I updated all the Muse packages to the latest version and the issue was resolved. I installed the Packages using the Muse onboarding redirect link.

Thanks for the help

2 Likes

Muse is being replaced with Unity AI and all Muse experimental packages are now sunset. Read more about Unity AI here: Unity AI: AI Game Development Tools & RT3D Software | Unity