Does not implement interface member 'IPunObservable.OnPhotonSerializeView'
Hello, I'm new to PUN and I got this error two scripts: SmoothSyncMovement and CullingHandler, saying that they dont implement interface member 'IPunObservable.OnPhotonSerializeView'. I use Visual Studio, and tried to implement the OnPhotonSerializeView, it does create it but there is already another one present in the script. I have no clue how to solve the error, it would be great if someone could help.
Answers
-
Nevermind the error's gone after I reimported PUN, although I am interested why this happened and how I could've solved it without re-importing.
0 -
As far as I know, this is a quirk of the Unity Editor and importing. Sometimes, the Editor doesn't generate the VS solution and projects correctly for .. no apparent reason.
A newer LTS version of Unity may avoid the issue. Recent Unity versions have a button to regenerate the project files for VS.
0