Playmaker Forum

Playmaker Help & Tips => iOS Help => Topic started by: matthutton on August 01, 2017, 12:48:54 PM

Title: Find Closest Action not working as expected after build.
Post by: matthutton 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?

Title: Re: Find Closest Action not working as expected after build.
Post by: matthutton 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.