Every script suddenly reads "Nothing Selected"

Hello, first sorry if this is a long winded post. I’m just trying to cover every bases I can think of. I’ve been working on a project using different tools/assets such as: Gaia, Enviro, Aquas, Erosion Brush etc, when all of the sudden EVERY SINGLE script is now showing “Nothing Selected”. I attached a screen cap of the Enviro Game Object to show what I mean. It is even happening on scrips that I’ve created myself that are basically 3 or so lines. Literally every single script in my project. In my Console the only errors I’m getting are for all of Unity’s Post Processing Effects. I also attached a screen cap of my Console. I noticed this happened after I imported the asset Recorder by Unity Technologies from the asset store. I spent about 6 hours trying to figure out what happened. Everything was perfectly fine. I didn’t do any updates or change anything. I have removed the Recorder asset completely.

In my troubleshooting and research I have deleted the post processing asset completely and reimported it with no luck. I reimported other assets and they still give me the same result. I also deleted my Library folder as I’ve seen some suggest then reloaded Unity but that did not fix it. I Even tried to do a suggestion of taking everything out of the folder C:\Program Files\Unity\Editor\Data\UnityExtensions, open Unity, close Unity then move everything back in the folder and open Unity again. I even tried changing the target framework in MonoDevelop with no luck. I have been using version 2017.3.0f1. At the time I did not do an update at all. Since having the issue I did update to version 2017.3.1f1 as a desperate attempt to see if maybe that would fix the issue which it did not. I’m about ready to completely uninstall Unity then reinstall it to see if that will work (though I have a feeling it won’t) but so far nothing is working.

Any help would be much appreciated. I might just be stupid and missing something simple. I’m going crazy here. Also maybe note I’m not much of a coder. I can read it and edit a bit but I’m not good at writing it. Thanks.


It’s looking for PostEffectsBase, so you need to do a search and find out what that is. It almost sounds like it could be a base script for the others. Take a look at one of the scripts and see if it is using it for inheritance, or what. See if that script is anywhere in that project, if it is a script.

The gaia scripts, see if you can find them, they are named there, and drag them back onto that space.

Don’t know if this applies to you or not, but I remember reading somewhere that Standard Assets needs a camera that is tagged main camera.

It looks like you downloaded an asset package that was not compatible with your current version of unity, which then embedded its own assets/project settings into various folders.

hopefully you have source control, even if you are not a programmer, being able to revert changes can prevent you from losing everything. if you do have source control it can easily tell you what files have changed and you can revert those changes, this is by far the best and safest solution to recovering your work. If you don’t have source control then you’ll likely soon find out why you want source control and should prolly get it set up asap

meanwhile lets try another “solution” assuming you don’t have source control.

If you have your coding application open I suggest you close it. I also would close Unity just to be thorough.

Next navigate to your projects folder and instead of deleting your library folder, try deleting the solution file (with the *.sln) and the .csproj files. hopefully adding that package just screwed up your project references and the next time Unity tries to look at them it’ll detect they are missing and regenerate new ones which should be valid for your project.

if you reopen unity and you still get get those errors you can probably assume that the folders with the problem files belonged to that outdated package and should likely be manually removed (at least to a backup folder outside the project space).

Thanks so much for the help friends!

I seem to have fixed the problem. Or so it seems but I still don’t understand how/why. I found that the PostEffectsBase script is part of Unity’s old Legacy Image Effects which was replaced by the Post Processing Asset. I downloaded and imported the PostEffectsBase script and put in in the Standard Assets folder and that seemed to clear up all the errors and the scrips are all working again. I just find it strange that I never downloaded the legacy effects and then suddenly the post processing was needing the script. I would like to know why things freaked out like they did but hey, it seems to be all working now so I’m happy! Also my camera is tagged as Main Camera. Thanks a lot fire7side.

I never set up source control so I’m guessing I don’t have that ability, unfortunately. I will try your other solution with another copy of the project with the errors and see if that helps get a better understanding of what’s going on. Perhaps you guys are right and maybe that Recorder just embedded a bunch of crap throughout the project and is out of date.

Thanks again!

Glad you got it working again.