Error CS0104
Options
Hi I made a new project using the last version of unity (2018.1.0f2), imported the last version of PUN (Free) 1.90 and I got 11 errors:
error CS0104: `Hashtable' is an ambiguous reference between `System.Collections.Hashtable' and `ExitGames.Client.Photon.Hashtable'
What can I do about it ?
Thanks in advance.
error CS0104: `Hashtable' is an ambiguous reference between `System.Collections.Hashtable' and `ExitGames.Client.Photon.Hashtable'
What can I do about it ?
Thanks in advance.
0
Comments
-
add UNITY_2018
LoadBalancingPeer: Line 17
PhotonAnimatorViewEditor: Line 23, 28, 76, 86, 110, 173, 1841 -
Hi @OneManArmy,
thanks for helping out.
Hi @Panicq as well,
I'm still wondering why this is not working for you. I have tried myself adding PUN 1.90 to a new project opened with Unity 2018 (exactly the same version you are using) and had no problems at all. As far as I know, UNITY_2018 should be included in the UNITY_5_3_OR_NEWER define, which is part of the above mentioned files. Odd...0 -
Hi @Panicq
Thank you for choosing Photon!
I think there is a similar issue for Photon Voice as well.
You can find an explanation in this post.
Could you try the following and report back?- Clean up PUN files from your project(s)
- Close all unity instances
- Remove the PUN cached package file: "C:\Users\<user>\AppData\Roaming\Unity\Asset Store-5.x\Exit Games\ScriptingNetwork\Photon Unity Networking Free.unitypackage"
- Download PUN
0 - Clean up PUN files from your project(s)