Assertion failed: Assertion failed on expression: '!GetMainEditorWindow()'
Hi,
I recently updated my unity so I had the same version that I'm using at school (2017.3.0f3) and as soon as I loaded it up I received the following error:
Assertion failed: Assertion failed on expression: '!GetMainEditorWindow()'
Essentially it doesn't recognise any key strokes outside or numbers. I've googled the error and it seems no one has ever come across the issue. Please help!
Kind Regards, George
Answer by Aidas0505 · Feb 21, 2018 at 10:40 PM
Hi, Today I had the same problem! Just started my project and I saw an error. I couldn't find any useful information on the Internet so I tried to open my project not by clicking on an Unity scene file but by opening Unity with a shortcut from my desktop. There I saw that for some reason my Unity profile was signed out and I needed to log in. After that I had to fill a short questionnaire (reasons why I use Unity and etc.) and my project worked perfectly fine (some sort of bug I believe or magic :D ). Sorry for my poor English. I hope this text was helpful. Aidas
Thanks, this worked i cant believe i didn't notice. I thought i messed up my computer because my project worked on my laptop and not my desktop i had the same error. Assertion failed: Assertion failed on expression: '!Get$$anonymous$$ainEditorWindow()' its been like this for a week i unfortunatly went back to an old version of my project so i lost some data.
Just solved same problem with this answer. Camera mouse and key controls did not respond per my scripts. It may have been one possible cause of an earlier problem where the same version dropped all scripts from objects when I pulled down work I had pushed from home (same versions home and school) via Github(desktop). Good little troubleshooter to compile a list of. Thanks@Aidas505
Answer by jeffryleiva · Mar 19, 2020 at 10:27 AM
I also had got that problem and the suggested solution works for me. It was just only a license problem. I started Unity from desktop launcher and it request me for my credentials.
Answer by Alphaniace · Jul 20, 2021 at 11:39 AM
If you fill out the survey you often get, the problem will be solved! Otherwise, you'll have to open Unity manually by heading to your Unity installation folder and open the .exe file.