Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Zanderfax on March 20, 2017, 12:43:52 PM
-
I have Unity 5.5.1f1 installed with Playmaker 1.8.3 and ArrayMaker 1.1.5.2F
When I run my game and add data to a blank hash table I am getting the following error:
Expected top level layout group missing! Too many GUILayout.EndScrollView/EndVertical/EndHorizontal?
UnityEditor.DockArea:OnGUI()
I have no prefilled data in the hash table. I know the data is getting into the table due to being able to get it out via scripts but I need to stop the errors due to it generating hundreds of errors.
Any solution to this issue?
Any help would be great!
Z
-
Hi,
How do you add data? I am not sure I fully understand how to repro this.
Bye,
Jean
-
First defined the var:
public System.Collections.Hashtable _tableInfo;
Then get the reference:
_tableInfo = GameObject.Find("DO_tableInfo").GetComponent<PlayMakerHashTableProxy>().hashTable;
Then add data:
//Update the tableInfo hash with new data
_tableInfo.Add("tableID", tID);
_tableInfo.Add("numPlayers", tnumPlayers);
_tableInfo.Add("numRuns", tnumOfRuns);
_tableInfo.Add("gameNum", tgameNum);
-
Hi,
I see, It's likely because you are sending null values, I fixed the inspector. Please redownload ArrayMaker from the Ecosystem.
Bye,
Jean
-
That fixed it!
Thank you very much for the help and I just wanted to say you made an amazing tool! Keep up the great work!
Z