fungus

Open full view…

Variable not found (Fungus/Playmaker Integration)

darquizard
Tue, 15 Jan 2019 17:59:05 GMT

I'm getting all sorts of these errors, they seem inconsequential for now. I've gotten this error before and when it actually seems to matter the actual variable name is listed. This one is actually 'Variable not found' with a double-space between 'Variable' and 'not found'. I see the Flowchart.cs:<int> - can anyone help me track these down to see if they're legit? How do I find the referenced flowchart.cs:number? Variable not found. UnityEngine.Debug:LogWarning(Object) Fungus.Flowchart:GetVariable(String) (at Assets/Fungus/Scripts/Components/Flowchart.cs:781) Fungus.Flowchart:SetStringVariable(String, String) (at Assets/Fungus/Scripts/Components/Flowchart.cs:973) HutongGames.PlayMaker.Actions.WriteToFungus:ChangeString(FsmString, FsmString) (at Assets/Fungus/Integrations/Fungus-Playmaker/Scripts/WriteToFungus.cs:1 14)

wolfrug
Tue, 15 Jan 2019 19:40:10 GMT

Well, seems like it's not finding a variable? Are you sure the variable is actually there? It might also be it needs to be set to public or something to be accessible? I'm not sure. The error is presumably in WriteToFungus.cs:114, but I have no idea what that does :)

darquizard
Tue, 15 Jan 2019 22:49:24 GMT

When I've encountered previous issues with this error, the message is always 'Variable <name> not found' so I'm a little perplexed - it looks like Playmaker has some variable it's trying to gather from Fungus, but the variable itself is unidentified, so I'm not exactly sure. Doesn't appear to be affecting the application in any way though.

alatriste
Wed, 16 Jan 2019 15:42:30 GMT

Is the variable you try to access a "global variable" in Playmaker? I think only global variables can be referenced using the playmaker fungus actions.