playMaker

Author Topic: Playmaker 1.9 dont have variable network sync?  (Read 2588 times)

Ateam

  • Full Member
  • ***
  • Posts: 116
Playmaker 1.9 dont have variable network sync?
« on: June 01, 2018, 01:04:25 AM »
Playmaker 1.9 don't have variable network sync? or is just a error?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker 1.9 dont have variable network sync?
« Reply #1 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




Ateam

  • Full Member
  • ***
  • Posts: 116
Re: Playmaker 1.9 dont have variable network sync?
« Reply #2 on: June 01, 2018, 11:12:54 AM »
Line 155*

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker 1.9 dont have variable network sync?
« Reply #3 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

amitchai2

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Playmaker 1.9 dont have variable network sync?
« Reply #4 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!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker 1.9 dont have variable network sync?
« Reply #5 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