You’re creating a new script and calling it exactly the same as the tutorial script. Probaply in the same namespace. Which means there’s 2 scripts with the same name in the same namespace. Either call your script different or use Nuitracks script
So no matter what I do, I keep on getting the same errors:
New Project:
-> Nuitrack SDK loaded on Unity
-> Went into "Tutorials\FaceTracker\FinalAssets
-> Added the “FaceTracking” scene to the hierarchy
-> Added the “Head” prefab to the hierarchy with all the linked scripts
These are the errors I get:
UnityException: Build path contains project built with “Create Visual Studio Solution” option, which is incompatible with current build settings. Consider building your project into an empty directory.
UnityEditor.WindowsStandalone.WindowsDesktopStandalonePostProcessor.CheckSafeProjectOverwrite (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WinPlayer/Extensions/Managed/WindowsDesktopStandalonePostProcessor.cs:58)
DesktopStandalonePostProcessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/DesktopStandalonePostProcessor.cs:38)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Build completed with a result of ‘Failed’
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:187
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:94
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Ok then, to come back to my first error. Would it be possible at all possible for you to send me a file with the “Creating your First Unity Project using Nuitrack SDK” project working?
I’m not quite sure I understand the written tutorial (not a native English speaker), and I seem to get stuck…
You can find all tutorial projects in our NuitrackSDK.unitypackage (in Nuitrack SDK). For the first project, the path is Unity 3D → NuitrackSDK.unitypackage → Tutorials → First Project