Photon NetworkingClient null Exception

Hi! I'm getting lots of exceptions from Photon and I can't figure it out the exact issue. I'm using Unity 2022.3.36f1 and I have the latest Photon version 2.46. I would need some help on how to debug this.

I added logs in that class but not much help:

Managed Stack Trace:
(unknown) (at ****/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:100)

this.Client = PhotonNetwork.NetworkingClient; -> Here is the issue (Line 100)

System.NullReferenceException: Object reference not set to an instance of an object.
at Photon.Pun.PhotonNetwork.StaticReset () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Pun.PhotonNetwork..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Pun.PhotonHandler.OnEnable () [0x00000] in <00000000000000000000000000000000>:0
The type initializer for 'Photon.Pun.PhotonNetwork' threw an exception.