Namespace conflict with WWise: ErrorCode
I am trying to integrate both WWise and Photo into the same Unity project.
However, both use the global namespace class 'ErrorCode' - could this be safely moved into the Photon namespace?
However, both use the global namespace class 'ErrorCode' - could this be safely moved into the Photon namespace?
0
Comments
-
A couple others are running into this issue too:
https://www.audiokinetic.com/qa/3169/unity-integration-cannot-upgrade-due-namespace-conflicts0 -
Hi @Xelnath,
Thank you for choosing Photon!
In PUN 1.82 we added the optional namespace for PUN scripts:Added: Optional Namespace usage for all of PUN. There is an option in the PhotonServerSettings inspector to enable it by setting a compile define. Be aware that you will get a lot of errors when you enable this. All of those can be fixed by using the namespace: ExitGames.Client.Photon0 -
Thank you, John!
0 -
This option has seemed to disappear from PUN 1.87. Where did it go? I am still getting Wwise integration problems. I have so far changed ErrorCode to LoadBalancingErrorCode in your code to try and get it to work.0
-
I was sick a few days, so my input is a bit late:
We removed the optional namespaces from PUN, due to compilation problems across Unity versions. With those, the feature caused more issues than it solved.
We are preparing a 2.0 version of PUN, which has namespaces for everything. This should be integrated in Voice quickly to resolve your issues.
0 -
Hi Tobias, thanks for the answer!
Is there a release date already planned for this version?0 -
Hi,
It's coming on the new few days ( it will be in beta for a while though)
Bye,
Jean0