Author Topic: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList  (Read 4984 times)

GregMeach

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 36
    • View Profile
SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
« on: August 01, 2014, 02:50:44 PM »
Revised the Welcome Scene: I want to simulate accepting an EULA by clicking an "OKAY" button and then display the other buttons. Sounds simple enough...

I Moved the 2 buttons and input to a new panel and disabled it. Copied one of the buttons and renamed it "OKAY" and moved it back to the original panel. Wrote a new SGAccept script as follows:
  1.         public GameObject hiddenPanel;
  2.         public GameObject button;
  3.  
  4.         /// <summary>
  5.         /// Hides itself and then enabled panel
  6.         /// </summary>
  7.        
  8.         void OnClick ()
  9.         {
  10.                 hiddenPanel.SetActive(true);
  11.                 button.SetActive(false);
  12.         }
  13.  

It works fine except for this console error: (yes there are two of them)
  1. !dest.m_MultiFrameGUIState.m_NamedKeyControlList
  2. !dest.m_MultiFrameGUIState.m_NamedKeyControlList

I've tried searing the entire code-base and also the forums but nothing came up.

Since I'm really trying to learn NGUI, just looking for some help understanding this error.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
« Reply #1 on: August 01, 2014, 09:49:57 PM »
That's somewhere in Unity, so I'm not sure what that is. What version of Unity is that in?

Also note that SGSK doesn't use NGUI unless you get the version of this kit that does.

GregMeach

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 36
    • View Profile
Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
« Reply #2 on: August 02, 2014, 05:47:53 AM »
Yes, using the full combo one (SGSK + NGUI + TNet) and I'll double check but whatever is the newest (release version of Unity), v4.5.2?

I'll keep looking.

From an implementation stand point; it's okay to use .SetActive() via NGUI button OnClick() methods?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
« Reply #3 on: August 03, 2014, 10:34:11 AM »
Sure, it's fine.

GregMeach

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 1
  • Posts: 36
    • View Profile
Re: SGSK error: !dest.m_MultiFrameGUIState.m_NamedKeyControlList
« Reply #4 on: August 04, 2014, 06:47:30 AM »
Cool, thanks

BTW: after a restart the error is no longer there and the button works fine