Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: paynechu on March 31, 2013, 07:15:10 AM
-
Area: Editor
Frequency: Always
1) What happened
Template show DISABLED when you editing the template and play the game.
....this is so trouble... stopping us to use template. Because difficult to debug
2) How can we reproduce it
- create a template
- create a gameobject
- create a FSM under this gameobject
- assign FSM to use template
- click the FSM Graph View to edit the template
- play the game now it will show disabled....I cannot see any state change..
Unity Info:
Unity Version: 3.5.7f6
Playmaker Version: 1.5.4.f3
BuildTarget: iPhone
System Info:
OS: Mac OS X 10.7.5
Processor: Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
System Memory: 8192
Graphics Device: Emulated iPhone 3GS / iPad running OpenGL ES2.0
-
I'm not at my computer to try your repro steps, but I think you're probably looking at the template, not the running FSM. Does the selection title say Template? If you re-select the game object do you see a running FSM?
-
I've got dame problem :(
(http://i.gyazo.com/dc96307ba1715e7642203e11351c29b7.png)
-
Can you describe what's happening in the scene a little more?
What did you select to see this?
Do you have a GameObject selected?
The title in the graph view suggests that you have a Template selected, not a running FSM. Templates are assets like script files, they need to be run by an FSM to be active.
-
After all this time. I still don't understand how to properly debug templates. I have game object that uses template. Like this
https://i.gyazo.com/f61efaf9b19e6c523a2c5d999ebaa196.png
If during gameplay I hit edit, I can't preview what's is going on. It looks like this.
https://i.gyazo.com/ec622c9a21b5818c7a6534d726590e35.png
So how can I debug during gameplay like regular fsm?
-
When you select the GameObject using the template while the game is running you should see the FSM running in the Playmaker Editor.
Edit currently always selects the template asset (not the running FSM), but I'll change this so it works like the Run FSM action: So the button says Edit at edit time, and Show when the game is running, to show the running FSM.
-
Hey Alex, this is still a problem for me. Game is running, I hit edit to watch the FSM run and check variables etc, it just says disabled.
Here's what i've found on this. If the game is running, you select a prefab, and the first/highest FSM displays propertly (even if it's a template). It is being "viewed". BUT if the prefab has a few FSMs, you have to hit "edit" to view ones beneath the first. When you hit edit, it just shows it as disabled. It doesn't default to "view mode" like you describe above if the game is running.
HELP!
-
bump
-
Hi, can you confirm what version of Playmaker you're using?
Are you using the Run FSM action? It should say Show instead of Edit when the game is running...