menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

+6 投票

Hello,

I'm updating wwise unity integration from 2016.2.2 to 2017.1.3. After the update, I get this compile error

Assets/Wwise/Deployment/API/Handwritten/WwiseTypes.cs(6,14): error CS0101: The namespace `global::' already contains a definition for `AK'

The conflict come from Wwise_IDs.cs which has 

public class AK
{
    public class EVENTS
    {...}

}

I regenerated the header file Wwise_IDs.h with Wwise 2017.1.3, then regenerated Wwise_IDs.cs with Unity->Assets->Wwise->Convert Wwise SoundBank IDs but the conflict remains. 

What could be the problem?

Thanks

 

分类:General Discussion | 用户: Nam H. (380 分)
I just tested with an empty project with only wwise unity integration along with a new wwise project with a simple event. The bug is still there. The generated Wwise_IDs.cs still has a class called "AK" which is conflicting with namespace AK.Wwise in WwiseTypes.cs. This namespace was not present in the previous version we used.

3 个回答

0 投票
Is there any update on this issue? did you solve it?
用户: josh m. (150 分)
We ended not upgrading Wwise as it was not urgent and haven't tested newer Wwise since. We have no update on the issue. It seems like a basic issue when trying to use Wwise_IDs.cs with Unity so either we have a silly configuration problem in our project or there's an issue with Wwise Unity integration. Now that I see there's +3 votes, I know we're not the only ones with this problem.
0 投票
Same probelm here with latest wwise/unity integration
用户: Ruben R. (240 分)
0 投票

The workaround for this is to rename "public class AK" to "namespace AK".

It's supposedly been fixed in Wwise 2017.2.1 Unity integration but I haven't tested it myself. 

用户: Nam H. (380 分)
...