(Solved) Issue that prevents menu from working
Posted: Fri Aug 13, 2021 8:53 pm
( NullReferenceException: Object reference not set to an instance of an object
Photon.Pun.PhotonNetwork.StaticReset () (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1051)
Photon.Pun.PhotonNetwork..cctor () (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1028)
Rethrow as TypeInitializationException: The type initializer for 'Photon.Pun.PhotonNetwork' threw an exception.
Photon.Pun.PhotonViewInspector.OnInspectorGUI () (at Assets/Photon/PhotonUnityNetworking/Code/Editor/PhotonViewInspector.cs:72)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1647)
UnityEditor.PopupCallbackInfo:SetEnumValueDelegate(Object, String[], Int32) ) -Console line from version 1.82 after updating my PUN2-
Photon.Pun.PhotonNetwork.StaticReset () (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1051)
Photon.Pun.PhotonNetwork..cctor () (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1028)
Rethrow as TypeInitializationException: The type initializer for 'Photon.Pun.PhotonNetwork' threw an exception.
Photon.Pun.PhotonViewInspector.OnInspectorGUI () (at Assets/Photon/PhotonUnityNetworking/Code/Editor/PhotonViewInspector.cs:72)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1647)
UnityEditor.PopupCallbackInfo:SetEnumValueDelegate(Object, String[], Int32) ) -Console line from version 1.82 after updating my PUN2-