Wrong serialization package dependency

Hi,

Behavior 1.0.3 package declares a dependancy to

“com.unity.nuget.newtonsoft-json”: “3.2.1”

But it seems not used in any file of the package.

Instead, shouldn’t it require com.unity.serialization?

Hi @Pitou22,

We have this dependancy because behavior can be used with Muse & Generative AI features.

We only use it in files related to backend requests with GenAI & we only enable the relevant files if you have the com.unity.muse.common package installed.

It’s a good point though, I will raise it with the team & see if we can remove this dependancy until you start using the generative AI functions.