Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

update problem: The namespace `global::' already contains a definition for `AK'

+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

 

문의 2017 10월 25 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?
답변 2018 1월 5 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
답변 2018 1월 19 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. 

답변 2018 2월 11 Nam H. (380 포인트) 로 부터
...