playMaker

Author Topic: Playmaker GUI missing in scene but it says it's there  (Read 3030 times)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Playmaker GUI missing in scene but it says it's there
« on: March 09, 2019, 03:41:42 PM »
Bug?

First image: no Playmaker GUI, it works no problem (note that few hours ago it was there and I had no problem either).
Second image: dragging my prefab of Playmaker GUI, it says that there's already another.
Third image: selecting the Playmaker GUI, it says that there's already another.

It seems it's there but it's invisible.

This happened after I installed Playmaker UGui and then removed its folder with its additional actions.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Playmaker GUI missing in scene but it says it's there
« Reply #1 on: March 10, 2019, 06:25:18 PM »
Hi.
Maybe you accidentally renamed the gameobject or maybe you have dragged/dropped it in another object?

The object Has this component in it :



When you drop in the Playmaker GUI it will look in your scene if that component already exists.

If you can find it. what unity / playmaker version are you using?

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Playmaker GUI missing in scene but it says it's there
« Reply #2 on: March 10, 2019, 06:47:25 PM »
This is funny: I reopened the scene now and the object is there, last in the list.
I throw it there: Unity got mad and didn't display it for some reason.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Playmaker GUI missing in scene but it says it's there
« Reply #3 on: March 10, 2019, 06:50:22 PM »
OK like I didn't say it: if I only selected it and deselected it, nothing happened, it was normal. Exactly like if there was just one. No error popup.

Once I MOVED it up in the list, as first object, it started again saying that there's another Playmaker GUI.
This is REALLY odd.
I moved it back down as last object in the list but the problem persists.

Another hint: when I start the game, it pops the error message 3 times!
« Last Edit: March 10, 2019, 06:53:48 PM by megmaltese »

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Playmaker GUI missing in scene but it says it's there
« Reply #4 on: March 10, 2019, 07:01:42 PM »
Found a call to UGUI in an action leftover, I deleted it and now the problem seem gone.

I still have these warnings though.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Playmaker GUI missing in scene but it says it's there
« Reply #5 on: March 11, 2019, 02:21:16 AM »
Hi.
It means you have some actions in the fsm that are not in the project.
In your case it's uGui Text Set Text and uGui Graphics Set Color (2X)

To find then easily you can click on the error check in the PlayMaker Window (bottom left)
then click on one of the missing errors, it should redirect you to the state/action.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Playmaker GUI missing in scene but it says it's there
« Reply #6 on: March 11, 2019, 05:51:20 AM »
Hi, I found the actions: they belong to some example prefab, is there a way to find which prefab they belong to?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Playmaker GUI missing in scene but it says it's there
« Reply #7 on: March 11, 2019, 06:31:26 AM »
Hi.
it should work the same way. with the error check.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Playmaker GUI missing in scene but it says it's there
« Reply #8 on: March 11, 2019, 06:34:19 AM »
or click on the error in the console.
it should highlight the object.

also you can read the error, it can give some hints on where it is.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Playmaker GUI missing in scene but it says it's there
« Reply #9 on: March 11, 2019, 04:44:23 PM »
Found it: it was in the example actions of UGUI.
Removed, everything is fine now!
Now I've only gotta learn how to use buttons and make a drag button with the Unity GUI and Playmaker!
(any tutorial or lessons to send me to?)  ::)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Playmaker GUI missing in scene but it says it's there
« Reply #10 on: March 11, 2019, 06:51:56 PM »
Hi.
Maybe this tutorial can help ;)


PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Playmaker GUI missing in scene but it says it's there
« Reply #11 on: March 12, 2019, 05:11:11 AM »
Thank you!