I’m getting this error:
namespace name ‘Networking’ does not exist in the namespace ‘UnityEditor.Experimental’
more specifically it is being fired from this location:
Library\PackageCache\com.unity.memoryprofiler@0.1.0-preview.6\Editor\MemoryProfilerWindow.cs(24,48)
And it is causing literally everything to stop working in unity. Please help SOS.
What I’ve tried so far:
- un-install and re-install Visual studio (originally visual studio was
broken now this).- un-install and re-install unity.
- Delete csproj+sln in the project folder (per google search results).
- Delete devenv.exe from program files (also per google search
results). - Re-add devenv.exe to program files.
- remove and re-add .vs folder from project folder (a personal
curiosity). - remove library folder and restart unity (this one took over 30 minutes
to reboot, I was hoping it would fix
the whole of the cache folder but no
luck). - comment out lines of code in MemoryProfilerWindow.cs that are
causing error codes. - un-comment out those lines of code (as the result was a dizzying mass of
new error codes). - google "fix MemoryProfilerWindow.cs (no dice).
- Submit a help question…maybe go to bed and try again tommorrow…
- Update: I went in to the package cache folder in the library and removed 8 folders, the result was the bug was gone and everything worked more or less the same as it used to…however when I returned to the project later on in the day…Unity reloaded the folders automatically in to the package cache folder and the error codes returned…
The folders that I removed were :
com.unity.ads@3.3.1
com.unity.analytics@3.3.2
com.unity.editorcoroutines@0.0.2-preview
com.unity.memoryprofiler@0.1.0-preview
com.unity.multiplayer-hlapi@1.0.2
com.unity.xr.legacyinputhelpers@2.0.2
nuget.mono-cecil@0.1.5-preview.
Current theory:
The problem may be being caused by a corrupted file, because I found a corrupted .config file in my visual studio program files.