Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Ateam on June 01, 2018, 01:04:25 AM

Title: Playmaker 1.9 dont have variable network sync?
Post by: Ateam on June 01, 2018, 01:04:25 AM
Playmaker 1.9 don't have variable network sync? or is just a error?
Title: Re: Playmaker 1.9 dont have variable network sync?
Post by: jeanfabre on June 01, 2018, 02:38:18 AM
Hi,

 it does, but it's been deprecated by Unity and now is offered as an option. To enable this,

- go the welcome screen window,
- go to Addons
- click on enable legacy networking.
- don't import the package of legacy actions if you don't need them, the sync check box will be there now


we have a little quirk on the addon manager, where it will throw an error:

simply open the script and replace line 54 with

                PlayMakerDefines.RemoveScriptingDefineSymbolFromAllTargets("PLAYMAKER_LEGACY_NETWORK");

Bye

Jean



Title: Re: Playmaker 1.9 dont have variable network sync?
Post by: Ateam on June 01, 2018, 11:12:54 AM
Line 155*
Title: Re: Playmaker 1.9 dont have variable network sync?
Post by: jeanfabre on June 06, 2018, 03:24:09 AM
Hi,
 
yes sorry... I made a patch for those who don't want to mess with script editing. ( attached to this post)

 Bye,

 Jean
Title: Re: Playmaker 1.9 dont have variable network sync?
Post by: amitchai2 on November 18, 2019, 03:51:09 AM
Hi, I have the same issue. followed the instruction and got some errors of playmaker
there is not line to replace at 155.. also after commenting some of the scripts, I got rid of the errors, ticked the network sync on my val, but getting this error on run:
The observed monobehaviour (MotusMan_v2(Clone)) of this PhotonView does not implement OnPhotonSerializeView()!
I am using Unity 2018.4 and photon classic. please help!
Title: Re: Playmaker 1.9 dont have variable network sync?
Post by: jeanfabre on November 21, 2019, 02:07:31 AM
Hi,

 I think this has been fixed now, you should only import the network addon package from the playmaker welcome screen to get the variable network interface features.

Bye,

 Jean