playMaker

Author Topic: Find Closest Action not working as expected after build.  (Read 2333 times)

matthutton

  • Playmaker Newbie
  • *
  • Posts: 21
Find Closest Action not working as expected after build.
« on: August 01, 2017, 03:48:54 PM »
I am trying to use the Find Closest action. It works exactly as I want in Unity, but after I build and run on my iPad it seems to ignore the tagged objects. The FSM completes so I think it executes. But it never returns an object.

Works great in the editor, just not in the build.  Any advice?


matthutton

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Find Closest Action not working as expected after build.
« Reply #1 on: August 01, 2017, 05:49:50 PM »
Sorry if it is bad form to reply to my own post  :D

I think I stumbled into the answer. I created a fresh project and was able to build with this action no problem. I then reopened my "real" project and created a new build. This time it worked!

Before closing my project I had created and deleted a few tags during my experimentation. Unity clears those out when you reopen the project. Is it possible that was related to my issue? This action does rely on Tags.