Muse Behavior namespace problem

Hi, I got this error after installing the Muse Behavior package. The system language of my computer is Turkish, and I guess the problem is that some Muse scripts use the letter “ı” instead of “i” as the first letter in their namespaces ( like “ınternal”) . I’m not an expert, it’s just a guess. I would be grateful if you could solve this problem. Thanks.

Hi @berkaynpc , is this Unity 6? It looks like a source gen error which I’ve been talking to the UI Toolkit team about, but I’m not sure. I spoke to them internally and they asked if you can open a bug report for it?

I’ve also noticed that sometimes removing an offending package and adding it again makes the source gen work correctly, which is a painful workaround. I hope they figure it out soon!

Also if you can share the editor log file I can send it to them!

No, it is 2022.3.18f1.

Here Editor.log file

thanks for your response.

Hi @berkaynpc,

The latest version of the Behavior package is released and out, we do not recommend using the old preview Muse Behaviors package, we will deprecate this soon.

Info here:
https://docs.unity3d.com/Packages/com.unity.behavior@1.0/manual/index.html

With the new package you can only use it with Unity 6 so we recommend upgrading if you want to use it.

Did it got fixed? Because I just updated from 2022 to 6000.2.1f1 and got the same error saolasın

Hello @Marina_Kemer
Muse Behavior is not supported anymore and won’t work on 6000+, we would recommend updating to Behavior package instead. Thank you.

Thanks but I got an new errors when I install behaviour…

I suspect that the package is not able to auto-upgrade very old graph properly. Muse Behavior was an experimental package and some internal structures have changed since the initial release.

Unfortunately, Muse Behavior has been deprecated almost a year ago, so we won’t be able to provide much help with the migration.

The safest road is:

  1. Make a copy of your project
  2. Downgrade the copied project to Unity 2022 (or whichever version you were using Muse Behavior with). This should allow you to open the legacy graphs.
  3. Update your project with the new Behavior package.
  4. Try to update your legacy graphs using the menu option Tools > Behavior > Validate All Graphs
  5. If you still get errors, delete your legacy graphs and use the legacy project as reference to recreate your graphs.

Hope this helps