difference between editor and build version in bolt

Options
l_TJ_l
l_TJ_l
edited October 2019 in Photon Bolt
hello
am new to bolt i follow official tutorial Bolt 104 events exactly in the entity event i face problem which is the input in editor are applied the same time when i press the event button but in bolt build the event not triggered unless i repeatedly and rapidly press the event button i switched to release version but the same issue remain

the code i use is typically the one provided in the tutorial

Best Answers

Answers

  • l_TJ_l
    Options
    thank you for reply @stanchion
    i use SimulateOwner which is equivalent to update as it mentioned in Doc i test it on editor its work perfectly when i press the event button its triggered the same time the problem still remain with the bolt build version i press the event button and it never trigger or even showed up in the debug screen
  • stanchion
    stanchion mod
    Answer ✓
    Options
    SimulateOwner is called on FixedUpdate. You need to check for input in FixedUpdate and/or Update depending on the situation.
    https://doc.photonengine.com/en-us/bolt/current/in-depth/update-loop
  • l_TJ_l
    Options
    i removed the if statement from SimulateOwner to update and its works fine

    @stanchion thanks