playMaker

Author Topic: Stack error: 1 HutongGames.PlayMaker.Fsm:Update()  (Read 447 times)

Christoph

  • Beta Group
  • Sr. Member
  • *
  • Posts: 254
Stack error: 1 HutongGames.PlayMaker.Fsm:Update()
« on: March 08, 2024, 01:32:07 PM »
With my latest update I get this error more and more from my players. No idea where it comes from. It shows up in my Analytics tools like GA and Firebase Crashlytics.

The error says only:
Stack error: 1 HutongGames.PlayMaker.Fsm:Update()

How to track this down? How to solve? I guess this crashes the users device?

Any help is appreciated.

Christoph

  • Beta Group
  • Sr. Member
  • *
  • Posts: 254
Re: Stack error: 1 HutongGames.PlayMaker.Fsm:Update()
« Reply #1 on: March 10, 2024, 01:38:58 AM »
From Firebase it’s a bit more extended. But still no clue:

Non-fatal Exception: java.lang.Exception: InvalidOperationException : Stack empty.
       at System.Collections.Generic.Stack`1[T].ThrowForEmptyStack(System.Collections.Generic.Stack`1[T])
       at System.Collections.Generic.Stack`1[T].Pop(System.Collections.Generic.Stack`1[T])
       at HutongGames.PlayMaker.Fsm.Update(HutongGames.PlayMaker.Fsm)

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Stack error: 1 HutongGames.PlayMaker.Fsm:Update()
« Reply #2 on: March 10, 2024, 04:40:21 PM »
Thanks for the error message, it's a good starting point. I'll investigate and get either a fix or a better error message into the next update.

Christoph

  • Beta Group
  • Sr. Member
  • *
  • Posts: 254
Re: Stack error: 1 HutongGames.PlayMaker.Fsm:Update()
« Reply #3 on: March 12, 2024, 04:19:52 PM »
Thing is I can't replicate it on my end. Not even sure where to look tbh.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Stack error: 1 HutongGames.PlayMaker.Fsm:Update()
« Reply #4 on: March 13, 2024, 02:16:54 PM »
Hi,
I have encountered stack error multiple times, all where after changing a template used with Run Fsm action in other fsm's.
if you click on the error does it point to an object?

Christoph

  • Beta Group
  • Sr. Member
  • *
  • Posts: 254
Re: Stack error: 1 HutongGames.PlayMaker.Fsm:Update()
« Reply #5 on: March 14, 2024, 08:23:42 AM »
Hi djaydino, the error is not happening in the console/Unity editor. It happens in the live version on the store, respectively on end-users devices. I see the error log in Firebase and GameAnalytics.