playMaker

Author Topic: Get Event Info, wrong sent by game object  (Read 1895 times)

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Get Event Info, wrong sent by game object
« on: February 20, 2023, 07:28:14 AM »
"Sent By Game Object" breaks when the player sends an event from a canvas transform object.

If I send an event with an object in scene, I will get the correct "Sent by gameobject" but when I send an event using any canvas ui, it will only ever get other canvas ui objects in the Sent by Game Object, variable.

Unity 2021.3.8f1
Playmaker 1.9.6

Also tested on unity 2020.3.4f1, and playmaker 1.9.1. Added a scene to show the issue. Press play, select the main camera and look at State 2. Click on both squares and see that it only gets the UI one after the UI one is selected.
« Last Edit: February 20, 2023, 07:33:32 AM by sebaslive »
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Get Event Info, wrong sent by game object
« Reply #1 on: September 04, 2023, 10:38:01 AM »
Checking to see if there's an update to this.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Get Event Info, wrong sent by game object
« Reply #2 on: October 06, 2023, 08:20:53 AM »
Checking again.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 773
Re: Get Event Info, wrong sent by game object
« Reply #3 on: February 23, 2024, 10:16:03 AM »
Out of curiosity, has this been solved on your side?

Have you tried to start an empty project and just copy the few game objects concerned with this bug and see if it still happens?

Large and old projects tend to encounter bizarre issues.

Also, try using "get/set properties" to send data alongside events instead, it might avoid the issue.