playMaker

Author Topic: Performance Problem About PhotonViewRpcBroadcastFsmEvent[SOLVED]  (Read 4962 times)

human890209

  • Junior Playmaker
  • **
  • Posts: 62
    • View Profile
Re: Performance Problem About PhotonViewRpcBroadcastFsmEvent
« Reply #15 on: February 15, 2017, 09:31:44 PM »
After I did some Profiler Check, I must say sorry to SendEvent Action. :P
With FSM Log Window docked, SendEvent to some busy FSM did cause great lag in editor mode run.
Now with FSM Log Window closed, this lag is totally gone.
SendEvent is innocent. ;)

Thanks to this Accident, I think my self-built MailBox is much safer than Open-Circle Global Event and simpler than my Close-Circle NoFeedBackNextFrameResend system which I keep using in "casual" FSMs :)
« Last Edit: February 15, 2017, 09:37:27 PM by human890209 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15489
  • Official Playmaker Support
    • View Profile
Re: Performance Problem About PhotonViewRpcBroadcastFsmEvent
« Reply #16 on: February 16, 2017, 12:30:47 AM »
Hi,

 Good, I am glad you are moving forward and optimizing things around. It is tricky to fully grasp all the various context in which debugging gives you false alarm or misleading informations.

 When I debug and profile in editor, I have a special layout which is just the game view and the profiler, nothing else, that's the closest to a clean profiling you can get in editor I think. Even the Unity Inspector is a big issue, all the inspectors that never make it in the  final builds are taking performances away, and can mislead on conclusions.

Bye,

 Jean


human890209

  • Junior Playmaker
  • **
  • Posts: 62
    • View Profile
Re: Performance Problem About PhotonViewRpcBroadcastFsmEvent
« Reply #17 on: February 16, 2017, 03:35:08 AM »
Hi,

Thanks for the advice. I will save a Profiler Layout. :D