playMaker

Author Topic: Owner needs Collider when 2D Collider present  (Read 1858 times)

Ulnari

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Owner needs Collider when 2D Collider present
« on: May 01, 2014, 02:55:28 PM »
Playmaker is displaying the error "Owner needs a Collider or GUI Element to respond to mouse events!" even when a 2D Collider is present (e.g.: Box Collider 2D).

Transition Event: Any mouse event (e.g. MOUSE DOWN)

Error is displayed regardless if Playmaker Unity 2D package is imported or not. Playmaker Unity 2D is added to the scene, 2D Proxy is added to the Gameobject.

A workaround is probably to catch the event with the Mouse Pick 2D Event, then trigger a FINISHED event, but it wont help to trigger the corresponding mouse event from Mouse Pick 2D Event.

Playmaker Version: 1.7.7.f6


Ulnari

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Owner needs Collider when 2D Collider present
« Reply #1 on: May 01, 2014, 03:01:52 PM »
Error message disappears when scene is run. Seems to be an update issue due Playermaker 2D package not recognized immediately.

Edit: Error message has re-appeared in edit mode ... it actually runs fine, click is recognized when running the scene, so it is not really breaking anything, just annoying.
« Last Edit: May 02, 2014, 02:15:42 AM by Ulnari »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Owner needs Collider when 2D Collider present
« Reply #2 on: August 05, 2014, 04:03:35 AM »
Hi,

 yes, as the Unity 2d package is something external to PlayMaker current build. Hopefully Unity 2d will be integrated soon in PlayMaker dll itself.

 Bye,

 Jean

pietwelve

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
Re: Owner needs Collider when 2D Collider present
« Reply #3 on: May 24, 2017, 12:44:09 PM »
Hi,
I've got the exact same problem with the 1.8.4.f5 version.
Is there a new workaround or solution ?
Thanks !

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Owner needs Collider when 2D Collider present
« Reply #4 on: June 19, 2017, 02:20:18 AM »
Hi,

 I can't reproduce this, Can you make a screencast showing the problem, it will help understanding what are the steps to repro this. Thanks :)

 Bye,

 Jean

JohanLundmark

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Owner needs Collider when 2D Collider present
« Reply #5 on: August 31, 2017, 05:29:46 AM »
Hi, new forum member here. I am having this same issue and a google search brought me to this thread. However for me its a 3d collider and mouse pick event that is causing issues. Here is a screenshot of the setup:
https://www.dropbox.com/s/njbbzb42gz1ubda/Screenshot%202017-08-31%2014.21.27.png?dl=0

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Owner needs Collider when 2D Collider present
« Reply #6 on: September 04, 2017, 12:08:29 AM »
Hi,

 what issue exactly do you get with this setup?

 Bye,

 Jean

JohanLundmark

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: Owner needs Collider when 2D Collider present
« Reply #7 on: September 07, 2017, 01:12:28 PM »
Same as the original author. Playmaker complains that there is no collision on the object (which it clearly has). Running the game, everything works fine and there are no errors reported. It just seems confused and throws that error when in editor mode.

I dont really have any issues with it since everything runs just fine. just thought I would report this similar behavior :)