playMaker

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

matthutton

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Find Closest Action not working as expected after build.
« on: August 01, 2017, 12: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: 3
    • View Profile
Re: Find Closest Action not working as expected after build.
« Reply #1 on: August 01, 2017, 02: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.