Player Object Destroyed After A Few Seconds In Unity

Gebros
Gebros

Hi there! It's my first time trying PhotonNetwork, and I tried following a few tutorials, and I have encountered this problem that I can't seem to find a solution.

Here it is:

After instantiating the player object, and assigning it as player 1 or player 2, it gets destroyed and is missing after a few seconds.

I tried adding a timer, to ensure the scene loads properly until the end, and tried adding a DontDestroyOnLoad(this) on the players script, but it doesn't seem to work.

I will reply quickly with any necessary screenshots or videos for demonstration if it's needed.

Thanks in advance. :)