Problem with unity (442361)

Im working on creating a custom editor in unity when suddenly I get this warning message:

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[UnityEditor.EditorWindow].get_Item (Int32 index)
UnityEditor.DockArea.OnEnable () (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/GUI/DockArea.cs:401)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String)

I played with it a bit more and now I got 4 warning messages at the same time. They are all 4 the same and appear any time Unity is opened, and reappear when the play button is pushed (if I erase them)

I tried deleting Unity and reinstalling. It still shows the message 4 times… I dunno what i did here, maybe playing around with custom editor wasn’t smart…

Does this happen even if you remove your editor script from the project? Any chance you can post the script?

yea i tried it still does problems. I think I know how the problem started. my script had an area with a function like this (Javascript):

eval( CodeString );

code string was going to be a string like this : CodeString “gameObject wtv = Ressources.load(“gameObject”)”

it works great now, but when the glitch started I had something like:

CodeString = ressources.load( “myObject” );

so instead of refering to a string, the eval info was refering to a gameObject. Obviously, eval function in javascript needs to be a string (the eval function processes a code from a string)

anyways I quickly fixed the problem, well in 4 tries actually. and now the 4 error messages are there forever, even after reinstalling unity… I dont know why.

Also, I am now getting an odd problem ( a new one… )
when I use transform.Rotate I get an error message:
transform.position assign attempt for ‘Player’ is not valid. Input position is { NaN, NaN, NaN }.

weird…

the annoying thing about all these error messages, is they keep opening my project folder when I double click them, instead of opening a script to show my errors. I don’t know what this means.