Adding Vuforia to an existing Hololens project - unity3d

I'm trying to add vuforia to an existing hololens project in unity.
I get this exception when building the app:
System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'WinRTBridge.TypeInformation' threw an exception.
Source=WinRTBridge
StackTrace:
at WinRTBridge.TypeInformation..ctor()
Inner Exception 1:
FileNotFoundException: Could not load file or assembly 'Vuforia.UnityExtensions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Using Unity 2017.3.1f1 and the built-in Vuforia plugin 7.0.50
When I'm starting the project from the unity player it does work.
Also, I've succeeded in deploying the vuforia hololens sample project.

I was able to solve that issue by seeing this thread:
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1461
apparently there is an issue using vuforia behaviour with the mixed reality camera script.

Related

how to get nuget unity

I referred to this one
https://learn.microsoft.com/en-us/visualstudio/cross-platform/unity-scripting-upgrade?view=vs-2017#taking-advantage-of-net-compatibility
i attempted to get nuget npgsql and microsoft office
but this error is occured.
Assembly 'Assets/Plugin/Microsoft.Office.Interop.Excel.dll' will not be loaded due to errors:
Unable to resolve reference 'office'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference 'Microsoft.Vbe.Interop'. Is the assembly missing or incompatible with the current platform?
it was same to happen exactly like npgsql
how to get nuget in unity
You might want to check out this asset: https://github.com/GlitchEnzo/NuGetForUnity

Dynamics Plugin throwing "Could not load file or assembly" error

I have a Dynamics365 Plugin which references a Nuget written by me. The build and the registration of the Plugin works and also the merge of all Libraries worked.
When the Plugin is triggered I get the following error:
Error 'System.IO.FileNotFoundException: Could not load file or assembly
'CustomNuget.Xrm.Common.XYZ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. The system cannot find the file specified.
The Assembly mentioned in the above error is the Nuget included in the Plugin.
What I know for sure is that this exception is thrown from within a Method which is contained in the above mentioned Assembly (Nuget).
When I check the plugin assemby with ILSpy everything looks ok.
How can this be that an exception is telling me the assembly was not found but the error was thrown exactly from this assembly??
Does anybody have an idea?

Get error trying to build for WebGL on Unity

Get error with UnityLinker.exe trying to build project for WebGL.
errors
I think this is the most important part:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
at Unity.Linker.UnityDriver..ctor(String[] args)
at Unity.Linker.Program.Main(String[] args)
What can I do? I searched but can't find a solution
It seems that you have installed wrong version of WebGL module. Try to reinstall it by Unity Downloader.

importing unity 2Dgame kit shows some errors

I'm using unity 2018.3.0f2
I was studying unity 2D Game Kit Walkthrough
it needs 2D Game Kit.
I downloaded it through unity app and then started it. After a long time and many loading and processing finally unity project opened. but show me some errors:
An error occurred while resolving packages:
Project has invalid dependencies:
com.unity.package-manager-ui: Package [com.unity.package-manager-ui#2.1.2] cannot be found
Package com.unity.textmeshpro#2.0.0 has invalid dependencies:
com.unity.ugui: Package [com.unity.ugui#1.0.0] cannot be found
Assembly has reference to non-existent assembly 'Unity.ugui' (Packages/com.unity.textmeshpro/Scripts/Editor/Unity.TextMeshPro.Editor.asmdef)
I searched but didn't find any useful thing about solving problem.
can someone help me?

Can create a play 2.2.0 project -- Error adding module to project: Cannot create module

I have play 2.2.0 and IntellyJ Idea 12 and Play Framework plugin for it. I can create a play project due to the error Error adding module to project: Cannot create module
Why is that?