Hi. I am creating my first game and this error appeared, I tried to debug the code but nothing happened
I am creating a game (my first) and I get this error .i tried to debug the code but nothing happened and the VS studio code is closed
(Sorry for my english)
Your scripts are still compiling. That little loading symbol in the bottom right corner means that your script editor is still trying to compile your script. If you tried to attach this script to a game object, this error shows up. For whatever reason, it got stuck like that. Try recompiling. Open Visual Studio, add like a single space after one line, save, and switch back to Unity (preferably without closing Visual Studio this time). If this problem persists, restart Unity and Visual studio, then if that doesn’t work, try copy-pasting the code into a new script and deleting the old one. Hope this helps!