( 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-
(Solved) Issue that prevents menu from working
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- Cheezey_Cheese
- New Member
- Posts: 2
- Joined: Fri Aug 13, 2021 8:47 pm
I've already fixed it, it happened due to me actually importing Photon after MFPS instead of before.