Bug Reporting > PlayMaker Bug Reporting

[SOLVED] Playmaker running in Editor - but not in Build

(1/1)

t.cgidiom:
Hello!

So I had this issue earlier already, and I fixed it by rebuilding the whole FSM. But now it happened again and I am not sure what causes the issue.

A short summary:
Playmaker works all fine when being in Editor. But as soon as I make a build (for Windows) it does not work at all anymore.

I already found this:
https://hutonggames.com/playmakerforum/index.php?topic=19213.0
... which directed to this:
https://hutonggames.com/playmakerforum/index.php?topic=20096.0
... from where I ended up with that:
https://hutonggames.com/playmakerforum/index.php?topic=20177

Summarised: I removed Playmaker out of the Unity AssetStore Cache and reimported it. But nothing changed.



Here is my error log:


--- Code: ---PlayerConnection initialized from C:/Users/Nutzer/Desktop/buildtest_2/TheTaleOfHunnabalilla_Data (debug = 0)
PlayerConnection initialized network socket : 0.0.0.0 55149
Multi-casting "[IP] 192.168.178.22 [Port] 55149 [Flags] 3 [Guid] 3626517171 [EditorId] 263929945 [Version] 1048832 [Id] WindowsPlayer(DESKTOP-SHM4UVC) [Debug] 1 [PackageName] WindowsPlayer [ProjectName] TheTaleOfHunnabalilla" to [225.0.0.222:54997]...
Waiting for connection from host on [0.0.0.0:55149]...
Remaining time:8s
Remaining time:7s
Remaining time:6s
Remaining time:5s
Remaining time:4s
Remaining time:3s
Remaining time:2s
Remaining time:1s
Remaining time:0s
Timed out. Continuing without host connection.
Started listening to [0.0.0.0:55149]
Starting managed debugger on port 56171
PlayerConnection already initialized - listening to [0.0.0.0:55149]
Initialize engine version: 2019.4.8f1 (60781d942082)
[Subsystems] Discovering subsystems at path C:/Users/Nutzer/Desktop/buildtest_2/TheTaleOfHunnabalilla_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce GTX 1080 (ID=0x1b80)
    Vendor:   (null)
    VRAM:     3072 MB
    Driver:   27.21.14.5167
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 0.243600 ms
CORE_SYS: CORE_SYS: MAIN_MENU: MissingAction: Could Not Create Action: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(Context, String)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Could Not Create Action: CORE_SYS: CORE_SYS: MAIN_MENU: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

CORE_SYS: CORE_SYS: escapePressed: MissingAction: Could Not Create Action: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(Context, String)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Could Not Create Action: CORE_SYS: CORE_SYS: escapePressed: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

CORE_SYS: CORE_SYS: language: MissingAction: Could Not Create Action: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(Context, String)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Could Not Create Action: CORE_SYS: CORE_SYS: language: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

CORE_SYS: CORE_SYS: language 2: MissingAction: Could Not Create Action: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(Context, String)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Could Not Create Action: CORE_SYS: CORE_SYS: language 2: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

CORE_SYS: CORE_SYS: language 3: MissingAction: Could Not Create Action: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(Context, String)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Could Not Create Action: CORE_SYS: CORE_SYS: language 3: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

CORE_SYS: CORE_SYS: language 4: MissingAction: Could Not Create Action: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String)
HutongGames.PlayMaker.ActionData:LogError(Context, String)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Could Not Create Action: CORE_SYS: CORE_SYS: language 4: ConditionalExpression (Maybe the script was removed?)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState)
HutongGames.PlayMaker.FsmState:LoadActions()
HutongGames.PlayMaker.Fsm:InitData()
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour)
PlayMakerFSM:Init()
PlayMakerFSM:Awake()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)


--- End code ---



I checked on the FSM CORE_SYS which seems to be pushed out there, but everything is intact:



I know that I can fix that by simply deleting the whole FSM and then rebuilding it, though despite of the fact that I am only doing that the second time already, this will end up being a pestering nuisance.

Does anybody have a suggestion how I could fix that?

djaydino:
Hi.
To which platform are you building?

Do you use Get/Set Properties actions?

If so you might need to use Linker Wizard

t.cgidiom:
Hello!

When doing the Build I got it set to the following settings:


Though indeed I am manipulating variables with self-written scripts.
I enjoy using Playmaker to have a visual overview, but the more complex actions are done in C#.

Thank you for the fast response - I will check on your Link tomorrow and give Feedback then!

t.cgidiom:
Ok, I tried it out and that solved the issue.
Looking back at it seems like I totally missed something for not knowing Linker Wizard.


For anybody having the same issue, here is a quick walkthrough on how the issue got fixed. (I know, Jean Fabre made a video, but without being aware of the existence of "Ecosystem" the video might be confusing)

--- Quote ---1) Download EcosystemBrowser Package: https://hutonggames.fogbugz.com/?W1181

2) After adding that to your Project, you got two options to open it:
a) ALT+E
b) Playmaker -> Addons -> Ecosystem

3) Search for "Linker Wizard" and download "Package"

4) Add a "Linker Wizard" here: Playmaker -> Addons -> Tools -> Create Linker Wizard

5) You know got a "Linker Wizard" Asset in your "Assets"-Folder. In there you got a slightly buggy window:


6) Click on "Install Actions"

7) If you use "Conditional Expressions", then click "Incldue Conditional Expression action".

8.) Whenever you do a change (and need to test it in a build), click on "Update Linker content".
Sidenote: "Updaer Linker content" only appears when you clicked "Install Actions".
--- End quote ---



Thank you for the help!
And sorry that I bothered with a rather common issue - but somehow I failed to find the right solution in google.

Cheers!

djaydino:
Hi.

Don't worry about 'common issue', we are happy to help :)

Navigation

[0] Message Index

Go to full version