I’m having the same issue. During the Unity 2017 install, I did not include MS Visual Studio 2017 community (was unchecked by default) as I preferred to continue to use VS 2015, which worked fine for Unity version 5.x
Edit: It seems this only occurs the first time you run Unity after upgrading to 2017. After closing and restarting the issue is no longer there.
I having the same issue too, i upgraded from Unity 5.6 to 2017.2 now i got a pile of errors on top of that.
Also another error is “WebSocket” could not be found and another is
System.InvalidOperationExeception: Operation is not valid due to the current state of the object
NullReferenceException: from TMPro.TMP_Settings.get_defaultFontAsset()
These errors happen just by opening my old 5.6 project with Unity 2017.2 without even running anything
Any solution this is happening to me too.
System.Exception: Package directory not found: “C:\Users\RChoudharyX098698.nuget\packages\Microsoft.CSharp\4.0.1”.
at UnityEditor.Scripting.Compilers.NuGetPackageResolver.Resolve () [0x000dd] in <3f368bacb6c34f4db5fe7e90570f303a>:0
at AssemblyUpdater.Core.AssemblyUpdaterContext.AddFrameworkFolderToSearchPath (Mono.Cecil.AssemblyDefinition assemblyDefinition, Mono.Cecil.DefaultAssemblyResolver resolver, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x000eb] in <3f368bacb6c34f4db5fe7e90570f303a>:0
Can you try creating an empty Unity project, switching to UWP, setting scripting backend to .NET, building the project and then coming back to your project and building as you did before?
This is still happening. Can someone confirm if this is holotoolkit or unity problem, instead of playing blame ping-pong?
Everytime single time something like this is raised on the HTK github (anything vaguely related to unity at all), its said “unity issue” without trying to fix it. Getting very annoying considering we paid $5k for dev kits, would like some real support.
Here is a good example of this:
You can see its listed as external unity bug. But this is not an acceptable “resolution”.
FYI this ONLY happens with HTK. So I severely doubt it is a “unity external” issue as it is listed as. Hence my observation of “blame ping pong”. We have run API updater on a ton of things, only the holotoolkit struggles.
This is most definitely a bug in Unity, but as I mentioned before, we need a bug report for this. Forums are not a good place to report bugs because we cannot track them properly.