Search Unity

!dest.m_MultiFrameGUIState.m_NamedKeyControlList

Discussion in 'Editor & General Support' started by nevaran, Nov 15, 2012.

  1. nevaran

    nevaran

    Joined:
    May 21, 2010
    Posts:
    234
  2. dsjunnesson

    dsjunnesson

    Joined:
    Dec 3, 2012
    Posts:
    15
    Still happening for me in 4.5.5
     
  3. Danila24ru

    Danila24ru

    Joined:
    Sep 21, 2012
    Posts:
    9
    4.6.0b17 too
     
  4. djweinbaum

    djweinbaum

    Joined:
    Nov 3, 2013
    Posts:
    523
    Still happens for me in 4.6 b21 and 5.0 b9. Its annoying because these things spam my console until I restart Unity.
     
  5. SoftwareLogicAU

    SoftwareLogicAU

    Joined:
    Mar 30, 2014
    Posts:
    34
    Thanks JoshuaPack for this - quick and simple to add this to my script and all the bogus errors went away!
     
  6. Cereal_Killa

    Cereal_Killa

    Joined:
    Oct 20, 2013
    Posts:
    205
    This is what I'm using:

    Code (CSharp):
    1. using UnityEngine;
    2. using System.Collections;
    3.  
    4. public class TextBox : MonoBehaviour {
    5.     public string stringToEdit = "";
    6.     void OnGUI() {
    7.         GUI.SetNextControlName("MyTextField");
    8.         stringToEdit = GUI.TextField(new Rect(10, 10, 200, 20), stringToEdit, 25);
    9.         GUI.FocusControl("MyTextField");
    10.     }
    11. }
    Version 4.6.1f1
    Still getting this error.
    I'm not sure how to modify this to remove the error.
    This code came directly from the Unity Documentation!!
     
  7. twobob

    twobob

    Joined:
    Jun 28, 2014
    Posts:
    1,785
    4.6.3f1 just upgraded. This wee beastie crept back timorous from the shadows.

    I added a comment to the tracker bug

    EDIT: Restarting the editor has made the errors go away for now...
     
    Last edited: Feb 21, 2015
  8. Silly_Rollo

    Silly_Rollo

    Joined:
    Dec 21, 2012
    Posts:
    485
    Back in Unity 5 consistently for me.
     
  9. psyydack

    psyydack

    Joined:
    Aug 30, 2013
    Posts:
    93
    Same here in Unity 5.
    The errors persist even restart editor.
     
  10. V-Portela

    V-Portela

    Joined:
    Nov 7, 2013
    Posts:
    6
    It also happened to me in Unity 5, after saving everything and restart the Unity editor, the error stopped and after a while it reappeared again, after another restart the error disappeared, it appears to me that is an inconsistent random error.
     
  11. Arcanum2010

    Arcanum2010

    Joined:
    Mar 24, 2015
    Posts:
    1
    I was doing some dynamic creation of Buttons and hooking them up to an event listener when I was getting this error every time I clicked on the button or anywhere on the screen. I am using unity Unity 5.0.0f4 (64-bit)
    For me, just adding a void OnGUI(){} cleared it up for me. Did not even have to have any code inside it.
     
  12. ZimM

    ZimM

    Joined:
    Dec 24, 2012
    Posts:
    945
    As mentioned numerous times in this thread, this is not a solution, because adding OnGUI cripples the performance a lot.
     
  13. gkjolin

    gkjolin

    Joined:
    Jul 15, 2015
    Posts:
    2
    Just close the unity. restart it.
     
  14. ZimM

    ZimM

    Joined:
    Dec 24, 2012
    Posts:
    945
    It always happens even after Unity restart. This is not a solution.