Photon voice compile error when switching build target to UWP

I'm getting this error when switching build target to UWP:
"Assets\Photon\PhotonVoice\Code\Editor\VoiceConnectionEditor.cs(66,63): error CS0103: The name 'showSettings' does not exist in the current context"
Would really appreciate if anyone can help me, thanks

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited January 2019
    Hi @tien,

    Thank you for choosing Photon and for reporting this:

    try replacing line 66 in "Assets\Photon\PhotonVoice\Code\Editor\VoiceConnectionEditor.cs"

    from:
    connection.ShowSettings = EditorGUILayout.Foldout(showSettings, new GUIContent("Settings", "Settings to be used by this voice connection"));
    to:
    connection.ShowSettings = EditorGUILayout.Foldout(connection.ShowSettings, new GUIContent("Settings", "Settings to be used by this voice connection"));

    Sorry for the inconvenience, we will fix this in the next version!