Can't build win - Using unity 5.6.3f1 and fmod 1.10.00


(Kim Aarnseth) #1

I can’t build for windows any more.

I get strange erros like:

Assets/Plugins/FMOD/BankRefAttribute.cs(5,37): error CS0246: The type or namespace name `PropertyAttribute’ could not be found. Are you missing an assembly reference?

Assets/Plugins/FMOD/FMOD_Listener.cs(5,30): error CS0246: The type or namespace name `MonoBehaviour’ could not be found. Are you missing an assembly reference?

Assets/Plugins/FMOD/RuntimeManager.cs(370,91): error CS0246: The type or namespace name `Transform’ could not be found. Are you missing an assembly reference?

It’s like fmod cant find unity anymore?
Using unity 5.6.3f1 and fmod 1.10.00

Building any other platform works.
Tried re-installing unity, rebooting, re-importing plugin. rebuild fmod project nothing works, tried it on a new blank project as well.


(Cameron Baron) #2

Something definitely isn’t right, before re-importing the plugin can you try deleting the Assets/Plugins/FMOD folder. If that doesn’t work I would suggest downloading the plugin again.


(Kim Aarnseth) #3

Removing Assets/Plugins/FMOD and redownloading and re-importing did not fix the problem.

any reference to unityEngine seams to fail

Assets/Plugins/FMOD/StudioParameterTrigger.cs(64,30): error CS0246: The type or namespace name `Collider2D’ could not be found. Are you missing an assembly reference?


(Cameron Baron) #4

You said “It’s like fmod cant find unity anymore?”, what happened in the time since you could last build for windows?


(Kim Aarnseth) #5

stopped working after the first build of a different platform.
built win worked.
switched to mac, built mac, built worked.
switched back to windows, build cant find unityEngine.

switching around, reinstalling unity, moving project, all fails now.


(Cameron Baron) #6

The only reason I can see that you would be getting these errors is if the “using UnityEngine;” was missing from the files.


(Kim Aarnseth) #7

yeah its there on all files. So it’s a strange local problem. Building on any other computer or platform works, even unity cloud works.