Audio Source in Vuforia Area target scene in unity - unity3d

I am having trouble playing an audio source in a unity scene using a vuforia area target. I am just learning Unity and Vuforia with not much experience. I wrote a basic unity script without using the calls for Vuforia. I am assuming I need the "DefaultTrackableEventHandler.cs" included. Vuforia documentation is not to descriptive and I am looking for some guidance if available.

Related

How to Access the stream of HoloLens 2 camera when trying to recognize the marker in AR app?

I am beginner in unity and not so much used to HoloLens 2. Actually I am trying to make a simple AR app for HoloLens 2, when I connect the external camera it is working fine but when I want to access the stream of HoloLens 2 in recognizing the marker, it does not recognize the marker and I do not know that either the HoloLens 2 camera stream is working or not. I used the main camera as the child of MixedRealityPlaySpace and add some components from AR camera but it does not work then I tried AR camera separate and as a child of MixedRealityPlaySpace but still the HoloLens camera stream is not working. It will be great help if anyone knows about the problems. Thanks In advance
Which way are you using for marker recognizing development? Vuforia or Unity AR foundation? Without any specific context the above information does not make any sense to me.
For AR Foundation, 2D Image tracking feature is not supported on HoloLens platforms for now, you can refer to this link to learn more about feature support per platform:Platform Support.
For Vuforia, there is a closed issue that show how to make Vuforia work with the MRTK: What's the current status of using Vuforia with the MR Toolkit? #1461

Using HDRP Rendering Pipeline

I just tried to create a Smoke and Fire particle system in Unity version 2019.1.14f1. I installed ShaderGraph and followed a Tutorial by Brackeys. I couldn't go far because I didn't have HDRP on the project. It was simply a 3D project. I used this website to figure out how to change to HDRP. I did so, but it won't render the project. It says "Platform WebGL with device Open GLES3 is not supported, no rendering will occur". I then tried to switch back to the normal rendering system. Now it won't let me share my WebGl game. I don't know for sure that these two problem are connected, but seems like it. I don't know if that is a problem with my computer, but I have added the specs below. How do I switch my current rendering system to HDRP, so I can create a nice Fire/Smoke Particle System?
WebGL is based on OpenGL ES and unfortunately, HDRP doesnt support OpenGL ES devices so there is no way to run it on WebGL.
However, URP (Universal Render Pipeline) would be much better way for WebGL.
And yes, URP supports Shader Graph.
Here is URP page: https://unity.com/srp/universal-render-pipeline

Setting up Hololens MRTK 2.0 with Vuforia in Unity 2019.1

I'm developing a Unity app for the Hololens 1 that uses Vuforia. Unfortunately, I cannot get the camera to work with Vuforia, it remains frozen in place and does not follow head movement. When I disable Vuforia, the camera tracks fine.
My setup is as follows:
* Windows 10
* Unity 2019.1.4f1
* MRTK v2.0.0 RC2
* Vuforia 8.1.11
I tried following the steps outlined here:
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1461#issuecomment-373714387
To no avail. I also tried having both cameras active, same result. The Vuforia Hololens sample that can be found in the Unity asset store is severely outdated (using the old Holotoolkit, not MRTK), so it is not very useful to me. I noticed that older versions of Vuforia allow the script on the camera to be set to "world center": "camera", but this option is now forced to "device" when Vuforia is configured for the hololens.
Can anyone tell me how to properly configure my scene for MRTK 2 and Vuforia? I'd be eternally grateful for a link to an up to date example project.
EDIT:
This seems to be an issue only when using Unity's holographic remote. I would still very much like to resolve that though, since deploying is very time-consuming and makes debugging almost impossible.
This worked for me:
Import MRTK package and add it to the scene. This will create a MainCamera under MixedRealityPlayspace Game Object.
Then GameObject > VuforiaEngine > ARCamera. This will create an ARCamera with two components: Vuforia Behavior and Default Initialization Error Handler. Copy these two components and add them to the MainCamera created when you added MRTK.
Finally delete ARCamera.
I use Windows 10, Unity 2018.4, MRTKv2.0 and Vuforia 8.
Good luck.

Transform Non Augmented Reality game into Augmented Reality in Unity

I was working on the project of unity 3d but then i started learning AR/VR in unity so i want to convert some of my projects like roll a ball and paper toss into Augmented Reality so Is there any way to convert any Non Augmented Reality into Augmented Reality..?
I think you need to Integrate them to Vuforia,ARCore or Arkit.If you integrate your project in Vuforia you can take Android and IOS builds.Arkit is for IOS AR apps and Arcore for Android AR builds.You can make a prefab of all the elements you want in a scene.Drag and drop those prefab into which sample scenes containing SDK(ARcore,Arkit or vuforia)for which you prefer for taking out builds.There are sample examples scenes in those SDKs.Drag them into any scenes and take build.
Check out Onirix, It's a very easy but also powerful platform to create Augmented Reality experiences, and it provides a Unity SDK.
What you should do with your game is attach the 3D content to any AR anchor (an image marker, surface, etc).

How to make project tango delta camera camera to VR mode

According to project tango tutorial
Once you're set up, try making a simple VR application on Project
Tango using our Unity prefab motion tracking tutorial. Also check out
our Unity code samples on GitHub for more inspiration!
https://developers.google.com/project-tango/apis/unity/
but the prefab motion tracking tutorial don't have any VR instruction
https://developers.google.com/project-tango/apis/unity/unity-prefab-motion-tracking
Anyone know how to make the delta camera camera to VR mode?
Found it under tango VR examples
https://github.com/googlesamples/tango-examples-unity