playMaker

Author Topic: [1.5.5] PM unity crash (systematic) [SOLVED]  (Read 2809 times)

sachaMagne

  • Playmaker Newbie
  • *
  • Posts: 9
[1.5.5] PM unity crash (systematic) [SOLVED]
« on: April 15, 2013, 09:12:27 AM »
this setup crash unity:
PM 1.5.5 + NGUI

1FSM that compute some floats value and store them into a global var called health.

another FSM attached to a ngui object containing a label to display that value (health).

FSM crashing setup:

init state:
get the label NGUI object and cache it.
then goes to GetValue

GetValue (all on every frame):
convert the value health  into string
compare value with 25
if >= state OK
else state NDE

state OK
build string with the text and some blah
set the Label property
switch to state GatValue

state NDE
build string with text and some sad blah
set the label property
switch to state GetValue

===> spinning weel on mac...

I disabled that FSM and all is fine..

I tried "GetValue" without every frame and no change on the final behaviour.


any help welcome




« Last Edit: April 15, 2013, 09:57:19 AM by Alex Chouls »

Mayhem

  • Full Member
  • ***
  • Posts: 171
Re: [1.5.5] PM unity crash (systematic)
« Reply #1 on: April 15, 2013, 09:23:29 AM »
Maybe you should update to 1.5.6 ?

sachaMagne

  • Playmaker Newbie
  • *
  • Posts: 9
Re: [1.5.5] PM unity crash (systematic)
« Reply #2 on: April 15, 2013, 09:24:36 AM »
1.5.6 is still not on the AssetStore. I just tried and got the 1.5.5

« Last Edit: April 15, 2013, 09:28:09 AM by sachaMagne »

sachaMagne

  • Playmaker Newbie
  • *
  • Posts: 9
Re: [1.5.5] PM unity crash (systematic)
« Reply #3 on: April 15, 2013, 09:44:02 AM »
managed to upgrade to 1.5.6 but got a [Disabled] now ...


sachaMagne

  • Playmaker Newbie
  • *
  • Posts: 9
solved [1.5.5] PM unity crash (systematic)
« Reply #4 on: April 15, 2013, 09:47:08 AM »
ok, my setup is wrong now. it ran into an infinite loop.
Problem solved...