AnimateControllerParameter broken script after updating Unity to 5.6
Options
Hey guys,
I had a couple of errors with PUN when I updated Unity to 5.6 (beta version). Although I could resolve most of the errors, only one kept me thinking how I can work it out.
This is the error. After trying to change the line of code with one of two references mentioned in the error, more errors came, so I reverted it back.
This is the line of code that gives the error:
Any help would be greatly appreciated!
I had a couple of errors with PUN when I updated Unity to 5.6 (beta version). Although I could resolve most of the errors, only one kept me thinking how I can work it out.
Assets/Photon Unity Networking/Editor/PhotonNetwork/Views/PhotonAnimatorViewEditor.cs(180,10): error CS0104: `AnimatorControllerParameter' is an ambiguous reference between `UnityEngine.AnimatorControllerParameter' and `UnityEditorInternal.AnimatorControllerParameter'
This is the error. After trying to change the line of code with one of two references mentioned in the error, more errors came, so I reverted it back.
This is the line of code that gives the error:
private AnimatorControllerParameter GetAnimatorControllerParameter(int i) { some other code }
Any help would be greatly appreciated!
0
Comments
-
Hi,
which version exactly of Unity are you using, Unity 5.6 is not in beta anymore, it's Unity 2017 that is currently in beta.
Bye,
Jean0 -
Hi,
I am using Unity 2017, the one version in beta.
Is there a workaround the error?
Thanks0