Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: wheretheidivides on March 05, 2015, 04:03:48 PM

Title: Visibility2 issues
Post by: wheretheidivides on March 05, 2015, 04:03:48 PM
using 'visibility2' action in unity 5 has issues.  Sometimes it see it fine and sometimes not

- It'll give an error saying the script is not there but it is.
- look at pics.  If I import the action first in the list there is an error on the next item.  if I move it down on the list it goes away.

Now when I brought 'visibility2' in via the ecosystem, unity gave a window and said the API needed updating.  It must have changed the script I guess.
Title: Re: Visibility2 issues
Post by: Lane on March 05, 2015, 04:07:40 PM
Double check that it isn't a bug where the last action always reports an error.

If so, its something weird in the background I haven't tracked down yet. Has something to do with deleting actions that have exceptions/errors. I usually start by just deleting the contents of the state, playing the game, going back to repopulate the state and if I still see errors I restart unity. Usually takes care of it.
Title: Re: Visibility2 issues
Post by: wheretheidivides on March 05, 2015, 04:10:29 PM
These 2 pics show me bringing in 'visibility2'.  On 1 state no errors and the other errors.  Nothing else in the states.

I changed scenes and came back.  the errors were gone (pic3)
Title: Re: Visibility2 issues
Post by: wheretheidivides on March 05, 2015, 04:11:19 PM
"Double check that it isn't a bug where the last action always reports an error."

What does that mean?

"Has something to do with deleting"

I did delete visibility and visibility2 and then got visibility2 from the ecosystem.
Title: Re: Visibility2 issues
Post by: Lane on March 05, 2015, 04:14:21 PM
It's probably the state is corrupted. Try removing it, play, restart unity, etc.. and then rebuild it.
Title: Re: Visibility2 issues
Post by: wheretheidivides on March 05, 2015, 05:36:11 PM
Lane , I have over 1000 of these errors.
Title: Re: Visibility2 issues
Post by: jeanfabre on March 30, 2015, 03:11:32 AM
Hi,

 I think it's a known bug in PlayMaker. If an action loose it's script it will throw a warning in place, but if you replace it, the error doesnt' go away and place it self on the action above it. If you hit play the error goes away and everything is back to normal.

 Can you confirm this?

 Bye,

 Jean