This morning I opened a Unity project I haven't touched in a few months, and it bugged me how much "noise" there was in the Explorer panel due to a bunch of third-party assets taking up space in the project. I right-clicked on one of the folders to see if there was an option to hide it, and saw the "Exclude" option. It seemed reasonable, so I clicked it. Now I have a ton of solution errors due to other files that were referencing those objects — I didn't mean to exclude it from analysis, I just wanted it to not show up in the Explorer.
Now I've been searching for the past hour and I cannot figure out for the life of me how to just freaking undo what I did. The folder is not listed under Settings > Editor > Inspection Settings > Elements to Skip. My .idea folder is version-controlled, and I saw no changes to any of the tracked files in there that could be reverted. Regardless, I completely deleted the .idea folder and reopened the solution hoping that Rider would just sort of "reset," but the excluded folder is still missing from the Explorer panel and I'm still seeing the same errors caused by the exclusion. It's honestly extremely frustrating that something so easy to do and so consequential is so bafflingly difficult to revert. I feel like I'm in some sort of Kafkaesque nightmare.
- How do I revert the "Exclude" action I mistakenly performed?
- How do I actually control what files/folders are visible in the Explorer panel without affecting how solution-wide analysis behaves? Is it even possible? I just want a cleaner view of my actual code files without a ton of third-party asset noise.
EDIT: I'm on Windows 10, Rider 2020.3.2, in a project for Unity 2020.1.4f1
EDIT 2: File > Invalidate Caches / Restart... also did not fix the issue.