playMaker

Author Topic: Problem with system transitions (seems a HEAVY bug)  (Read 5728 times)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #15 on: May 28, 2021, 04:05:25 PM »
Additional data.
The main scene shows the use of 51 FINISHED events.
When I open the buttons prefab though, the value increases to 56, but the prefab has at least 12 uses of FINISHED.
The single FSM in the image shows it, and there are other 4 FSM with 3 FINISHED events each.
All these FSM have wrong count of the FINISHED event: ROLL shows 18 but it only has 12, all the other FSM show 5 each, but they are only used 3 times each.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #16 on: May 28, 2021, 04:22:24 PM »
I'm thinking: what if I export the prefabs, and import them in a brand new project?
Would Playmaker reset the count?

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #17 on: May 29, 2021, 03:07:53 AM »
I don't know, my FSM's still count one FINISHED more than there's in the graph.
Available for Playmaker work

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #18 on: May 29, 2021, 07:51:21 AM »
I don't know, my FSM's still count one FINISHED more than there's in the graph.

The real problem here is the behavior of Playmaker in this occasion.
I suspect that problems arise when you delete events from the list, and you can work quietly if you don't touch it.
Don't try to rename or delete events and everything should be fine.
I will proceed this way and see how it goes.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #19 on: May 29, 2021, 08:01:55 AM »
I need to rename them so the global ones don't clash with local ones. Also, be aware that, while displayed, some gloval events won't be present in events manager, and probably not functional.







As you can see, DESPAWN global event is there, but does not appear in the event manager until i click on it again in the send event field.



« Last Edit: May 29, 2021, 10:41:11 AM by krmko »
Available for Playmaker work

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #20 on: May 29, 2021, 09:09:11 AM »
I keep fixing stuff but i keeps reverting, FIRE keeps getting replaced with DESPAWN and whenever that happens (for example, FIRE is replace with DESPAWN), FIRE global event is LOST FROM EVENT MANAGER!

I even tried replacing those global events with some other, new events, it keeps getting screwed up.
« Last Edit: May 29, 2021, 09:45:02 AM by krmko »
Available for Playmaker work

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #21 on: May 29, 2021, 01:02:36 PM »
I keep fixing stuff but i keeps reverting, FIRE keeps getting replaced with DESPAWN and whenever that happens (for example, FIRE is replace with DESPAWN), FIRE global event is LOST FROM EVENT MANAGER!

I even tried replacing those global events with some other, new events, it keeps getting screwed up.

I think this bug is extremely stupid: probably the loop goes up to the SEMILAST in the list, and not the last.
So in one of the windows (still have to understand which one), when you think you are working on an event, you are actually using another event.
I am pretty sure this is related to a mistaken last number of index somewhere.
That's why you get your events replaced etc.
Shouldn't be too hard to find out... wondering where is Jean when you need him  ;D

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #22 on: May 29, 2021, 01:35:36 PM »
Well i hope he won't be all like "please file a bug report" since it's already been filed a long time ago.
Available for Playmaker work

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #23 on: May 29, 2021, 01:43:07 PM »
I filed it the day before yesterday... let's see.
This is BAD though. And I don't think this is the first time I met it.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #24 on: May 29, 2021, 02:03:31 PM »
Very bad, i spent three days fixing it and it is unfixable.
Available for Playmaker work

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #25 on: May 29, 2021, 03:27:10 PM »
Very bad, i spent three days fixing it and it is unfixable.

You may try to prepare a brand new project with Playmaker installed, export all the assets from your original project and import them in the new one.
I think this should work.
And if you won't delete any action, you should be ok.
This is how I'll do.

But let's wait for the dev word...

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #26 on: May 30, 2021, 07:28:57 AM »
I exported all the prefabs i updated in the screwed up project and imported it in the last backup, works ok now, but i don't need this in my life ever again.
Available for Playmaker work

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #27 on: May 30, 2021, 09:53:00 AM »
Glad it worked!
So the events list now reports correct values?
Of course nobody needs this  ;D
I'm still waiting that the dev sees us...

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #28 on: May 30, 2021, 03:40:37 PM »
I don't know man, i'm afraid to opet the events tab. When i exported and imported the prefabs into the backup some of them are ok and some needed to be fixed. But i just added proper transitions and didn't delete the old ones from the event manager and it works fine.

For the next project, i'm definitely using different names for global and local transitions and events. While still avoiding global variables like hell, of course.
Available for Playmaker work

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Problem with system transitions (seems a HEAVY bug)
« Reply #29 on: May 30, 2021, 04:42:58 PM »
In some cases I really don't know how to not use global variables without flipping the entire project into a mess.