Issue namespaces FMOD when installing packages

Hi there,

We recently installed Megafier 2 package from asset store with dependencies.
Then, we had an issue about resolving namespaces.

Dependencies:

  • unity.jobs
  • unity.nuget.mono-cecil
  • unity.post.processing
  • unity.timeline
  • com.autodesk
  • com.unity.collections
  • com.unity-formats.fbx

To resolve the issue we changed this:

we had FMOD.Studio.

Thanks

Hi,

What version of FMOD are you using?

Could you elaborate on what the issue is? In the image you provided, I am unsure what you changed. Thank you

Hi!
We’re currently using 2.20.11.
When we installed some packages, there was a conflict with namespace between scripts from theses packages (sorry we don’t know exactly the name of package) and FMOD package.

Before there was STOP.MODE.ALLOWFADEOUT in the script, we changed it with FMOD.Studio.STOP.MODE.ALLOWFADEOUT to avoid conflict.

Thanks

1 Like

Hi,

Thank you for clarifying and sharing your solution. Were these conflicts in your own code or in our integration?

Hi,

The conflict is in your integration package. There is conflict because the compiler resolve STOP_MODE to enum from FMODEventPlayable.cs instead of fmod_studio.cs

1 Like

Hi,

Thank you for bringing this to our attention, I will pass it on to our development team to look into further.

1 Like