playMaker

Author Topic: Expected top level layout group missing! HashTable Proxy Error[SOLVED]  (Read 238 times)

Zanderfax

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
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
« Last Edit: March 22, 2017, 06:48:22 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 11919
  • Official Playmaker Support
    • View Profile
Re: Expected top level layout group missing! HashTable Proxy Error
« Reply #1 on: March 20, 2017, 11:25:41 PM »
Hi,

 How do you add data? I am not sure I fully understand how to repro this.

 Bye,

Jean

Zanderfax

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
Re: Expected top level layout group missing! HashTable Proxy Error
« Reply #2 on: March 21, 2017, 05:37:56 AM »
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);



jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 11919
  • Official Playmaker Support
    • View Profile
Re: Expected top level layout group missing! HashTable Proxy Error
« Reply #3 on: March 21, 2017, 11:33:46 PM »
Hi,

I see, It's likely because you are sending null values, I fixed the inspector. Please redownload ArrayMaker from the Ecosystem.

Bye,

 Jean

Zanderfax

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
Re: Expected top level layout group missing! HashTable Proxy Error
« Reply #4 on: March 22, 2017, 06:18:15 AM »
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