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)
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)
Hi.
that error doesn't seem to relate to Photon at all. it mention terrain and texture, right?
Bye,
Jean
Hi,
an error produces always the full stack fo script call, and so because the error occurs within an action, of course below in the stack you'll find all the PlayMaker core engine used to actuall run that actions at the point of failure.
Yes, something is not right, maybe the gameObject is missing, or the terrain or texture is not set properly. but that doesnt' look like a photon proxy error or anything related.
Bye,
Jean
Hi,
an error produces always the full stack fo script call, and so because the error occurs within an action, of course below in the stack you'll find all the PlayMaker core engine used to actuall run that actions at the point of failure.
Yes, something is not right, maybe the gameObject is missing, or the terrain or texture is not set properly. but that doesnt' look like a photon proxy error or anything related.
Bye,
Jean
Aha okey good to know! I will try fix that issue first and hopefully everything will be fine. Regarding the other issue I have narrowed it down now.
Everything works fine (Meaning both players can see each other and interact with each other) until i set the transform to the new lerp position when the "Check isMine is no"
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
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
So i started with another new project with everything up to date and added a basic connection FSM.
Game Manager:
State 1: Photon Network Connect Using Setting.
State 2 on Joined Lobby: Create or Join Room.
State 3: Photon Network Join Room
As soon as the player joins the game the error pops up again.
I have an older test-game with the same setup and with all the same versions of plugins, it used to worked a couple of weeks ago, but loading it up now gives the same error.
Im sorry I cant be of more help, but I dont have alot of actual coding knowledge.
Thanks for looking into this!
Hi,
I think it's related to the fact that PUN has remove single observe property and replaced it with a array, I am going to check what's going on.
Bye,
Jean
Hi,
I am really sorry, I can't replicate this, create a new project, installed PlayMaker, Photon from the asset store, then installed PlayMaker Photon support from the ecosystem ( VERSION5, there is a version for Unity 4 as well, watch out), installed the demo, and all works well, I can publish and run the demo with 2 users in the room fine.
I am pretty sure it's because you need to clean up your project, or because ou imported the wrong package.
Else, the next step will be for me to have access to one of your project so that I can see this error and debug it within the project. Pm me.
Bye,
Jean
Hi,
- I don't recommend using demos fsm in your own project, you should always fully understand the demos and then apply the technics learned yourself.
to clean up, remove the following folders and reimport Photon from the asset store and the proxy from the ecosystem:
"Photon Unity Networking"
"PlayMaker PUN"
"PlayMaker Utils"
"playMaker ArrayMaker"
that should do it. if not, then you like need to clean up Photon Unity network dll inside the Plugins folder as well before reimporting Photon
Bye,
Jean
Hi,
odd,
-what version of Unity, Photon and PlayMaker are you using?
-what is the changelog.md version inside PlayMaker PUN folder?
Bye,
Jean
Hi,
can you confirm you are trying an a fresh project
1: get playmaker from the asset store
2: get photon from the asset store
3: install Ecosystem
4: get photon proxy for U5
5: get the photon demo
6: publish it and run it
7: run the demo in editor
Bye,
Jean
I just want to point out that I still get the error as before, but the game works fine and I don't see any issues except that error with:Thats wierd, i get it on my server side/owner and the game freezes as soon as a client connects. The client however manages to sync atleast partially to the server as far as i know, since it can see the master clients game object/character when it connects. But nothing more will happen since they game then freezes on master side with the error appearing.
"The observed monobehaviour (Playmaker Photon Proxy) of this PhotonView does not implement OnPhotonSerializeView()!"
I think it only appears on the other client but not sure, I just saw it the other day but everything works now so did not have the energy to look it up again :P
Hi,
you might have had a glitch where you needed to alter things up.
Can you make a screenshot of your photon proxy?
Bye,
Jean
Hi,Ohh okay that's odd - I've tried searching both in the Editor and during Play mode, but I don't seem to have any duplicates of it in my scenes. Networking syncing is definitely working though, I have quite a few variables for each player and they're syncing just fine. I'll try looking into it a bit further and see if I come up with anything. Thanks for your help so far, really appreciated!
uhm, no you do need the photonView to observe the PlayMakerPhotonProxy otherwise the Fsm that you set to network synch will not be synch... It's odd that it works. Maybe you have two photon proxy in your scene?
Bye,
Jean