playMaker

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

loopgames

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
PlaymakerPhotonProxy ERROR[SOLVED]
« on: February 06, 2017, 11:05:10 AM »
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, 07:42:40 AM by jeanfabre »

Lokefot

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14387
  • Official Playmaker Support
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #2 on: February 06, 2017, 10:42:35 PM »
Hi,

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

 Can you confirm?

Bye,

 Jean

loopgames

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #3 on: February 07, 2017, 02: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: 14387
  • Official Playmaker Support
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #4 on: February 07, 2017, 11:39:48 PM »
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
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #5 on: February 13, 2017, 02: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: 14387
  • Official Playmaker Support
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #6 on: February 13, 2017, 11:52:43 PM »
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
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #7 on: February 14, 2017, 01: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: 14387
  • Official Playmaker Support
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #8 on: February 14, 2017, 11:56:32 PM »
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
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #9 on: February 15, 2017, 02: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: 14387
  • Official Playmaker Support
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #10 on: February 15, 2017, 10:37:36 PM »
Hi,

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

 Bye,

 Jean

Lokefot

  • Playmaker Newbie
  • *
  • Posts: 10
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #11 on: March 01, 2017, 10:19:49 AM »
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: 114
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #12 on: March 01, 2017, 02:21:33 PM »
I have the same problem :(

Lokefot

  • Playmaker Newbie
  • *
  • Posts: 10
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #13 on: March 01, 2017, 03: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: 14387
  • Official Playmaker Support
    • View Profile
Re: PlaymakerPhotonProxy ERROR
« Reply #14 on: March 03, 2017, 02: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