Can't build addressables because FMOD Editor scripts get included

Hello!

We’ve recently migrated to FMOD on our project and everything is working fine audio-wise when we start the game in Play Mode. However, I get errors when building the project’s addressables since migrating: For the record, we weren’t loading the banks as addressables yet but even after following instructions from here, the problem persists.
As shown in the screenshot below, it seems the addressables try to put FMOD editor code in the bundle, code which relies on UnityEditor, a assembly missing when building addressables, causing the errors.


Our addressables don’t contain anything exotic (sprites, scriptable objects, prefabs) so I figure this is more of a configuration issue since the project plays well before building

We are using Unity 2020.2.1f1 with FMOD 2.00.10 and Addressables 1.16.15

Thanks in advance for your help!

Hello again!

I seem to have found the issue:
The editor scripts get bundled because the project is missing the FMODUnityEditor assembly file, which would mark the editor scripts as Editor only, now comes the weird part:
I can see I’m supposed to get this file when downloading from the Asset Store, as shown by expanding Package Content from the plugin’s page


But when I try to import the package from the Package Manager, the file is missing, hence why I don’t have it in the project

Any other way to retrieve that file?

The version of FMOD on the Unity Store is currently 2.01.07, which is very different from 2.00.xx.

You can also download newer versions of FMOD 2.00 from our Download page.

Thanks for your answer ! My problem wasn’t really version-related, I initially had FMOD in 2.00.10 and tried to upgrade it to 2.01.07 in hopes it would fix the bug but didn’t!
I ended up creating my own assembly file under FMOD/src/Editor


This indeeds fixes the issue, it’s just weird the package manager doesn’t allow me to import said assembly file in the first place