Vuforia AR core samples in Unity 2018.2.1 throws errors - unity3d

I have Unity Editor version 2018.2.1 and Vuforia 7.2.23. If I download Vuforia core samples from assets store, I get the following error after importing the assets..
Here are the errors
Assets/Common/Scripts/CloudRecoEventHandler.cs(82,42): error CS1061: Type `Vuforia.ObjectTracker' does not contain a definition for `GetTargetFinder' and no extension method `GetTargetFinder' of type `Vuforia.ObjectTracker' could be found. Are you missing an assembly reference
and this one
Assets/SamplesResources/SceneAssets/CloudReco/Scripts/CloudTrackableEventHandler.cs(37,61): error CS1061: Type `Vuforia.ObjectTracker' does not contain a definition for `GetTargetFinder' and no extension method `GetTargetFinder' of type `Vuforia.ObjectTracker' could be found. Are you missing an assembly reference?
Here is the screenshotsshot
When i run even if a comment those lines, it requires an upgrade of Vuforia 7.5 in which i downloaded but keeps on failing to install

The core samples in asset store don't support vuforia 7.2
You have to update vuforia manually (7.3+) or install Unity 2017.3.0 or higher

Related

Unity3d Issue - Assembly will not be loaded due to errors: X references strong named Y Assembly references: 10.0.0.0 Found in project: 13.0.0.0

I have an issue with a dll im using inside unity3d.
Im trying to use the jose-jwt.dll
link to the library:
https://www.nuget.org/packages/jose-jwt-forunity/
and when I'm importing it into unity3d I get this error:
Assembly 'Assets/jose-jwt.dll' will not be loaded due to errors:
jose-jwt references strong named Newtonsoft.Json Assembly references 10.0.0.0 Found in project: 13.0.0.0.
Assembly Version Validation can be disabled in Player Settings "Assembly Version Validation"
now from my understanding the jose-jwt.dll have a dependency of at least version of 10.0.0.0 of the Newtonsoft.Json, so why this error occurs and how should I fix it?
Unity3d has its own Newtonsoft.Json from what i can tell.
I need it to create a JWT and send it to an api server.
Thanks for the help!

Errors when build unity proejct for Macos on Windows

When I want to build a macOS version of my Unity project, I get following errors. But When I choose to Build Winows Version, it goes very well. Can someone help with this problem?
Many Thanks.
My version of Unity package is 2020.3.18f1c1 and my computer is Windows
enter image description here
Library\PackageCache\com.unity.ugui#1.0.0\Runtime\UI\Core\Image.cs(873,87): error CS1061: 'Sprite' does not contain a definition for 'isUsingPlaceholder' and no accessible extension method 'isUsingPlaceholder' accepting a first argument of type 'Sprite' could be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.ugui#1.0.0\Runtime\UI\Core\Image.cs(1851,38): error CS1061: 'SpriteAtlas' does not contain a definition for 'IsPlaceholder' and no accessible extension method 'IsPlaceholder' accepting a first argument of type 'SpriteAtlas' could be found (are you missing a using directive or an assembly reference?)
It would work fine after upgrading your unity engine to 2021.3 in your situation

Triying to run VLC for unity plugin demo

This is the repo: https://code.videolan.org/videolan/vlc-unity
I was finally able to build the plugin, but when I try to run the example in unity, a couple of exceptions appear:
Assets\VLC-Unity-Windows\Scripts\UseRenderingPlugin.cs(32,25): error CS1061: 'MediaPlayer' does not contain a definition for 'SetTime' and no accessible extension method 'SetTime' accepting a first argument of type 'MediaPlayer' could be found (are you missing a using directive or an assembly reference?)
Assets\VLC-Unity-Windows\Scripts\UseRenderingPlugin.cs(95,40): error CS1061: 'MediaPlayer' does not contain a definition for 'GetTexture' and no accessible extension method 'GetTexture' accepting a first argument of type 'MediaPlayer' could be found (are you missing a using directive or an assembly reference?)
Plugins: Failed to load 'Assets / VLC-Unity-Windows / Plugins / x86_64 / plugins / VLCUnityPlugin.dll' because one or more of its dependencies could not be loaded.
I am using these versions of dlls, located on unity plugin folder: LibVLCSharp v3.4.3.0 libvlc.dll v3.0.8.0 libvlccore.dll v3.0.8.0
and the last version of the repository.
could you help me?
To make this work, you need:
LibVLCSharp Unity build netstandard2.0 (version 4.0),
Nightly libvlc 4 llvm x64 build
Build of the Unity C++ plugin
It's still a bit rough around the edges, lacks some samples but it will get better with time :-)
Good luck.

Am I doing something wrong with importing Oculus Integration in Unity?

When I go to the Asset Store in Unity and import the Oculus Integration I get 63 error messages.
I have tried re-installing Unity, it didn't work. I can't find anyone else having similar issues.
Error Messages:
Assets\Oculus\VR\Scripts\Util\OVRCursor.cs(22,19): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
Assets\Oculus\VR\Scripts\Util\OVRInputModule.cs(25,35): error CS0246: The type or namespace name 'PointerInputModule' could not be found (are you missing a using directive or an assembly reference?)
Assets\Oculus\VR\Scripts\Util\OVRInputModule.cs(432,40): error CS0246: The type or namespace name 'MouseState' could not be found (are you missing a using directive or an assembly reference?)
There is many more like this, suggesting files are missing.
Unity Version 2019.3.0a3
Ok, this solves this problem, but either there is something wrong with Unity (tested 2019.2.0b4, 2019.1.4f1, and the 2019.3 versions) or Oculus Integration.
Add and a reference to Unity.ugui in Unity like in the picture.
I encountered a couple of compiler error as well, but those could just be commented as it was in sample code.
Make sure you run Unity Hub with administration rights and import Oculus Integration again
All VR components were renamed to XR.
Just double click on the errors and replace the lines of the Using statement with XR
e.g.
OVRTracker.cs
using VR = UnityEngine.VR;
// is changed to
using XR = UnityEngine.XR;
And the error will disappear.
I replaced VR with XR and it worked for everything except one boundary error.

Unity package manager issue

I Have The Latest Unity version and when i import package called
"PRO Military Customizable FPS Character v1.1_2PRO" it imports with two errors
E:/UP/FPPGame/Library/PackageCache/com.unity.package-manager-ui#1.9.11/Editor/Sources/UI/Common/PopupField.cs(8,36): error CS0246: The type or namespace name `BaseTextElement' could not be found. Are you missing an assembly reference?
E:/UP/FPPGame/Library/PackageCache/com.unity.package-manager-ui#1.9.11/Editor/Sources/UI/Common/PopupField.cs(118,33): error CS0115: `UnityEditor.PackageManager.UI.PopupField<T>.ExecuteDefaultAction(UnityEngine.Experimental.UIElements.EventBase)' is marked as an override but no suitable method found to override
And when i import the asset the package manager dissapear from window menu
what should i do ..
I had exactly the same issue on MacOS with Unity 2019.3.9f1.
Not a perfect solution, but upgrading to Unity 2019.3.10f1 instead solved it.