Cannot add script to Game Manager Object

I was following the Unity3D Breakout game tutorial and everytime I try to add my game manager script, the object disappears from the hierarchy. The script name is the same as the game object.

Make sure you don’t drag your script into the hierachy while you are on PLAY mode

It’s just a bug. You need to restart Unity.