Bug Report: Building with Unity 2017-1
Options
![jules43](https://us.v-cdn.net/6024696/uploads/userpics/796/nZWBF6YWRH0NX.png)
jules43
✭
Having installed the PUN Voice 1.11 plugin into Unity 2017.1.1p4 there is a compile error in Assets\Plugins\PhotonLoadbalancingApi\Room.cs and Assets\Plugins\PhotonLoadbalancingApi\Player.cs.
This is due to this line not being compiled:
Which in turn is due to the #if not triggering. To fix:
Add some of these:
replacing the
This is due to this line not being compiled:
using Hashtable = ExitGames.Client.Photon.Hashtable;
Which in turn is due to the #if not triggering. To fix:
Add some of these:
|| UNITY_2017 || UNITY_2017_1 || UNITY_2017_2
replacing the
|| UNITY_6
0
Comments
-
Hi @jules43,
Thank you for reporting this!
Those Unity preprocessor/compile conditions are never ending and tricky to anticipate them.
For example the UNITY_X_Y_Z_OR_NEWER have been removed from Unity 2017!
In fact this is part of LoadBalancingApi (Realtime SDK).
It will be fixed in an upcoming release.0