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