playMaker

Author Topic: Error after adding 'Event Proxy Wizard' and sending anim event.  (Read 315 times)

gatlincura

  • Playmaker Newbie
  • *
  • Posts: 2
Hello! First time playmaker user and added the addon Ecosystems>EventProxyWizard.

I'm following a course where I add the created event proxy to an enemy, where it's sent during an anim for attack. In the function window there looks to be a weird error, and then when I add the functionality, it spits out an error saying 'Object reference not set to an instance of an object'.

Because I'm extremely new to both playmaker and unity, I'm not even sure how to debug this. Is it an install error? Is it a me thing and I just ticked a box I shouldn't have?

Here are some images I got of the window to choose what event proxy is sent and the error log.

https://www.dropbox.com/scl/fi/hdayonbgjijw2f4o13g69/eventproxywindow.png?rlkey=ddko46f4f94vel6rs6xxbbdz0&dl=0

https://www.dropbox.com/scl/fi/u9y9xbnwnfo9fluhgu2qy/objectRefBug.png?rlkey=hnjrv9itdinjmn1ybry9qmahn&dl=0

Thanks for any help here, kinda stuck and having difficulty finding anything about these issues.

Parld1984

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Error after adding 'Event Proxy Wizard' and sending anim event.
« Reply #1 on: March 12, 2024, 07:07:22 AM »
Ensure the Event Proxy script is enabled on the enemy GameObject.