playMaker

Author Topic: PlaymakerPhotonProxy ERROR[SOLVED]  (Read 30268 times)

loopgames

  • Playmaker Newbie
  • *
  • Posts: 5
PlaymakerPhotonProxy ERROR[SOLVED]
« on: February 06, 2017, 01:05:10 PM »
Hi,

I'm following this tutorial
But when the second client join in the room I have this error:

Quote
The observed monobehaviour (PlayMaker Photon Proxy) of this PhotonView does not implement OnPhotonSerializeView()!
UnityEngine.Debug:LogError(Object)
PhotonView:ExecuteComponentOnSerialize(Component, PhotonStream, PhotonMessageInfo) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs:544)
PhotonView:SerializeComponent(Component, PhotonStream, PhotonMessageInfo) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs:457)
PhotonView:SerializeView(PhotonStream, PhotonMessageInfo) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs:352)
NetworkingPeer:OnSerializeWrite(PhotonView) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:4009)
NetworkingPeer:RunViewUpdate() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:3878)
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:164)

I am using Play maker version 1.83.
Unity version 5.5.0f3.
Photon Version 1.80.

PS: I put the PlaymakerPhotonProxy game object on the scene without touching anyting.

Help me please

thanks
« Last Edit: March 07, 2017, 09:42:40 AM by jeanfabre »

Lokefot

  • Playmaker Newbie
  • *
  • Posts: 12
Re: PlaymakerPhotonProxy ERROR
« Reply #1 on: February 06, 2017, 09:16:02 PM »
I got the same problem, it worked fine a couple of days ago.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlaymakerPhotonProxy ERROR
« Reply #2 on: February 07, 2017, 12:42:35 AM »
Hi,

 I think you are getting mixed up between the PlayMakerPhotonProxy and the PlayMakerPhotonGameObjectProxy

 Can you confirm?

Bye,

 Jean

loopgames

  • Playmaker Newbie
  • *
  • Posts: 5
Re: PlaymakerPhotonProxy ERROR
« Reply #3 on: February 07, 2017, 04:35:29 AM »
Hi,
this error is focused on the PlaymakerPhotonProxy prefab that was added automatically by Playmaker Photon Wizard.
I post some screenshot.

thanks a lot for the support  ;)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlaymakerPhotonProxy ERROR
« Reply #4 on: February 08, 2017, 01:39:48 AM »
Hi,

 at what point in the video is the explanation that leads to this error?

Is the demo worker scene works?

 Bye,

 Jean

loopgames

  • Playmaker Newbie
  • *
  • Posts: 5
Re: PlaymakerPhotonProxy ERROR
« Reply #5 on: February 13, 2017, 04:56:47 PM »
Hi,

sorry for my late reply.
I get the error when I join in the room with a second client of the game.
In the video the network sync is working at the 30:20

The demo worker scene does not work because is made for Unity 4 and I use Unity 5

Tk

Bye

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlaymakerPhotonProxy ERROR
« Reply #6 on: February 14, 2017, 01:52:43 AM »
Hi,

 the demo worker works in Unity 5. What version of Unity are you using? and what problem do you have with the demo work custom sample?

Bye,

 Jean

loopgames

  • Playmaker Newbie
  • *
  • Posts: 5
Re: PlaymakerPhotonProxy ERROR
« Reply #7 on: February 14, 2017, 03:28:30 AM »
Hi,
I am using Play maker version 1.83.
Unity version 5.5.0f3.
Photon Version 1.80.

I download the demo worker from the Ecosystem (Tagged for Unity 4), when I load the scene I have a lot of compiler error

TK

Bye

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlaymakerPhotonProxy ERROR
« Reply #8 on: February 15, 2017, 01:56:32 AM »
Hi,

 what are those errors?

Have you installed the PlayMaker photon package tagged 5 from the ecosystem? the sample is tagged 4 yes, because it's compatible accross all versions, but the actual sdk is not that's why you have two versions, one for 4 and one for 5.

 Bye,

 Jean

loopgames

  • Playmaker Newbie
  • *
  • Posts: 5
Re: PlaymakerPhotonProxy ERROR
« Reply #9 on: February 15, 2017, 04:55:43 PM »
Hi,
I create a new project and I have imported the pakages (PlayMakerPUN For Unity 5, DemoWorker) directly downloaded from https://hutonggames.fogbugz.com/?W928.
The demo now is working...
Now I will try with my asset

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlaymakerPhotonProxy ERROR
« Reply #10 on: February 16, 2017, 12:37:36 AM »
Hi,

 Good, let us know how it goes so that I can flag this thread as solved.

 Bye,

 Jean

Lokefot

  • Playmaker Newbie
  • *
  • Posts: 12
Re: PlaymakerPhotonProxy ERROR
« Reply #11 on: March 01, 2017, 12:19:49 PM »
Did you figure this out? I started a new project with all files up to date and made a small fsm that just connects to a created room. Still getting the Photon Proxy error the second a client connects.
The observed monobehaviour (PlayMaker Photon Proxy) of this PhotonView does not implement OnPhotonSerializeView()!
UnityEngine.Debug:LogError(Object)
PhotonView:ExecuteComponentOnSerialize(Component, PhotonStream, PhotonMessageInfo) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs:544)
PhotonView:SerializeComponent(Component, PhotonStream, PhotonMessageInfo) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs:457)
PhotonView:SerializeView(PhotonStream, PhotonMessageInfo) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonView.cs:352)
NetworkingPeer:OnSerializeWrite(PhotonView) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:4009)
NetworkingPeer:RunViewUpdate() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:3878)
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:164)

Ateam

  • Full Member
  • ***
  • Posts: 116
Re: PlaymakerPhotonProxy ERROR
« Reply #12 on: March 01, 2017, 04:21:33 PM »
I have the same problem :(

Lokefot

  • Playmaker Newbie
  • *
  • Posts: 12
Re: PlaymakerPhotonProxy ERROR
« Reply #13 on: March 01, 2017, 05:06:03 PM »
Looks like quite a few do looking at how many times this topic has been viewed  :P

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlaymakerPhotonProxy ERROR
« Reply #14 on: March 03, 2017, 04:36:08 AM »
Hi,

 Make sure you have properly updated both PUN asset and the PlayMaker related asset from the Ecosystem.

 I can't replicate this here so it's likely something that got corrupte within the project, due to not updating.

Test on a totally empty project, bring PlayMaker, then PUN , then the bridge and if this is fine, then you need to clean up your project.

let me know if this still occurs.

 Bye,

 JEan