(Solved) Issue that prevents menu from working

Report bugs of MFPS 2.0 here
Post Reply
User avatar
Cheezey_Cheese
New Member
New Member
Posts: 2
Joined: Fri Aug 13, 2021 8:47 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-
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

The error log that you posted doesn't point to any MFPS script,
can you explain with detail how you reproduce the problem.
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
Cheezey_Cheese
New Member
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.
Post Reply