Unity error

Hey, Unity 5.0.2 was working fine until I updated windows 10, The scene I made doesn’t open and it gives me this error ‘You are trying to import an asset which contains a global game manager. This is not allowed.’

This problem occur when you accidentally have one of the global .asset files that are supposed to live in the “ProjectSettings” directory in the “Assets” directory. I’ve seen some 3rd party plugins include a sample InputManager.asset which triggers the problem. perhaps Unity used to silently ignore these and this error message is new?

Annoyingly Unity doesn’t highlight the problem asset if you click on the message in the console so you’ll need to manually search for rogue copies of AudioManager.asset, InputManager.asset , EditorSettings.asset and so on and so forth.

Google is your friend.

It seems like there’s a built-in class named Game Manager, and if you have your own script named the same thing, Unity throws a hissyfit. Rename the script and class, and it should work.

There’s also rumors around that this might happen if you’re using a cracked version of Unity. If that’s the case, don’t do that.