Post by westingtyler on Mar 24, 2020 5:04:54 GMT
Suddenly today, after 2 years of working with no problems, I get this error any time I try to launch my Unity scene. The Query Single Row playmaker command checks to find the contents of a cell under column IsAxis, and brings back the TEXT as a string. To avoid tedium, sometimes the cells are just left empty as NULLS to equal NO or NONE. Unity never had a problem with this and returned an empty string, until today.
I need a way to check "is cell Null?" and if cell IS null, return a blank string or empty string. going through thousands of database entries just to add the word NO or N/A or NONE or adding "blankness" to them seems pointless, especially since game players will be able to modify the tables, and that's one more thing they can screw up. Is there a possible action that could test if a Cell is null, or could such a test and a 'send event' option be added to the Query actions?
Here is the error. Why would Unity SUDDENLY care about this and start throwing errors when yesterday and for years it was fine?
Startup InputPrefs Loadup : InputPrefs Loadup : QUERY isAxis : SimpleSQL_Query_SingleRow : There was an error trying to store the results. Be sure your result variable types match the query results
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.FsmLog:AddEntry(FsmLogEntry, Boolean) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmLog.cs:172)
HutongGames.PlayMaker.FsmLog:LogAction(FsmLogType, String, Boolean) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmLog.cs:361)
HutongGames.PlayMaker.FsmStateAction:LogError(String) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmStateAction.cs:280)
SimpleSQL_Query_SingleRow:DoQuery() (at Assets/PlayMaker/Actions/SimpleSQL/SimpleSQL_Query_SingleRow.cs:140)
SimpleSQL_Query_SingleRow:OnEnter() (at Assets/PlayMaker/Actions/SimpleSQL/SimpleSQL_Query_SingleRow.cs:29)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2771)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2718)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2643)
HutongGames.PlayMaker.Fsm:UpdateState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2787)
HutongGames.PlayMaker.Fsm:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1995)
PlayMakerFSM:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:589)
I need a way to check "is cell Null?" and if cell IS null, return a blank string or empty string. going through thousands of database entries just to add the word NO or N/A or NONE or adding "blankness" to them seems pointless, especially since game players will be able to modify the tables, and that's one more thing they can screw up. Is there a possible action that could test if a Cell is null, or could such a test and a 'send event' option be added to the Query actions?
Here is the error. Why would Unity SUDDENLY care about this and start throwing errors when yesterday and for years it was fine?
Startup InputPrefs Loadup : InputPrefs Loadup : QUERY isAxis : SimpleSQL_Query_SingleRow : There was an error trying to store the results. Be sure your result variable types match the query results
UnityEngine.Debug:LogError(Object, Object)
HutongGames.PlayMaker.FsmLog:AddEntry(FsmLogEntry, Boolean) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmLog.cs:172)
HutongGames.PlayMaker.FsmLog:LogAction(FsmLogType, String, Boolean) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmLog.cs:361)
HutongGames.PlayMaker.FsmStateAction:LogError(String) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmStateAction.cs:280)
SimpleSQL_Query_SingleRow:DoQuery() (at Assets/PlayMaker/Actions/SimpleSQL/SimpleSQL_Query_SingleRow.cs:140)
SimpleSQL_Query_SingleRow:OnEnter() (at Assets/PlayMaker/Actions/SimpleSQL/SimpleSQL_Query_SingleRow.cs:29)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2771)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2718)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2643)
HutongGames.PlayMaker.Fsm:UpdateState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2787)
HutongGames.PlayMaker.Fsm:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1995)
PlayMakerFSM:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:589)