Forums

  • Incremental camera lag when using Model Target Hello, I seem to have found a strange behaviour with the Vuforia camera feed when tracking Model Targets. In Android and iOS devices (not replicable in the Editor), every time I re-scan the model there is a noticeable accumulative decrease of FPS in th...
  • Menu button mislabeled in documentation Hey, this probably isn't super critical, but I think I noticed a small bug in the Input for Windows Mixed Reality docs.

    In the docs, this image suggests the menu button is down on the grip:


    However, here it looks like that button is the system "Windows" button, and the menu button is instead between the touchpad and the thumbstick:...

    Menu button mislabeled in documentation
  • Oculus player character for my simulation issue while FPCcamera movement in Unity. I am working on the oculus project, The player character for my simulation in Unity. in which I have firstperson controller, I have created game object of player in which I put FPCamera as a child and character's body.
    Issue: When I attach my oculus camera it detached from the body and with the Oculus headset movement, FPcamera act as a separate view from the body. the body does not rotate and remain static even though FPcamera is moving according to the headset. However it works fine if I...

    Oculus player character for my simulation issue while FPCcamera movement in Unity.
  • Shader property issue with Single Pass Instanced Hi!

    I have a question related to the Single Pass Instanced mode and setting material texture properties.

    I have a property in a shader defined like this:

    _OverlayTex ("Overlay (RGB)", 2D) = "black" {}

    The uniform itself is defined properly as
    UNITY_DECLARE_SCREENSPACE_TEXTURE(_OverlayTex);

    However when going into play mode, I got a console error:
    "Error assigning 2D texture to texarray texture property '_OverlayTex': Dimensions must match"

    It works fine though and if I remove the...

    Shader property issue with Single Pass Instanced
  • OculusRift Controllers like Steam VR home, Rotate 90° Player Hey there, First at all, I m not a programmer so i need help with this. I need to make a controller for rotate the player 90° with a Oculus button control using the Steam VR Plugin, Anybody of you guys could help me with this please!! D: i ll reall...
  • Vector 3 Problem Help I'm new in C # and Unity.
    I have a interesting project in Unity.
    I'm constantly getting errors in 3 Scripts: error CS1061: Type `UnityEngine.Vector3 'does not contain a definition for` RoughlyEqual' and no extension method `RoughlyEqual 'of type `UnityEngine.Vector3 'could be found. Are you missing an assembly reference?
    Where did I make a mistake?

    Please Help me :)
  • ProBuilder? Shaders? I’m new to this and don’t know what to do Hey, so I've made VR app using some ProBuilder form asset store, and unity version 2018.1.7f1. I've tried to build app for android and I had these errors:

    Shader error in 'ProBuilder/Standard Vertex Color': '' : 'UNITY_PASS_FORWARDBASE' already defined at line 34 (on gles)


    Shader error in 'ProBuilder/Standard Vertex Color': '' : 'UNITY_PASS_FORWARDADD' already defined at line 223 (on gles)


    Shader error in 'ProBuilder/Standard Vertex Color': syntax error: unexpected token ';' at line 288...

    ProBuilder? Shaders? I'm new to this and don't know what to do
  • Oculus Go – Deleting file from persistentDataPath when UnityWebRequest aborted I'm trying to delete a file in Go's persistentDataPath directory if the download has been aborted on quitting the application
    I've tried both OnApplicationQuit and OnDestroy methods which work fine in the Unity Editor and it's persistentDataPath. For example

    Code (CSharp):
    1. public void OnDestroy()
    2.     {
    3.     if (FileExists == 0)
    4.         {
    5.             uwr.Abort();
    6.             File.Delete(Application.persistentDataPath + "/" + videoFileName);
    7.          
    8.         }
    9.    }
    But when quitting the...

    Oculus Go - Deleting file from persistentDataPath when UnityWebRequest aborted
  • World Anchors Do not persist correctly between sessions. Using Unity 2017.4, I cannot get persistent anchors to work.

    Following all tutorials and documentations, I am able to save and load world anchors to / from the store.

    However, the technology just doesn't work. As opposed to how this works with say the Hologram app, where those correctly maintain their positions between sessions, days, and even weeks, using the Unity API has yet to produce an object that maintained it's correct world position between two runs.

    The issue is fairly simple,...

    World Anchors Do not persist correctly between sessions.
  • How to run an application in VR mode with a Windows Mixed Reality headset ? Hi,

    I'm trying to make my first app for Windows Mixed Reality headset but I am facing an issue.

    I build the app on Local Machine, but when I run it through the Mixed Reality Portal with the headset, I see the application in a window instead of seeing it in VR mode. (see screenshot in attachments)
    I don't figure out what I did wrong.

    In build settings I have :
    target device : any device
    build type : D3D
    sdk : latest installed
    visual studio version : visual studio 2017
    build and run on :...

    How to run an application in VR mode with a Windows Mixed Reality headset ?
  • GameObject with Rigidbody (mass) disappears when placing it on Ground Plane Stage (using Vuforia) I have a car with a Rigidbody that disappears when I place it on the Ground plane stage in Vuforia, the problem appeared when I added a Rigidbody to the car, otherwise it works fine. It's like the car keeps on falling and doesn't recognize the ground plane as an actual plane, as the car doesn't collide with the ground.


    Any tips? Would be super greatful
  • sharing camera data hi. first, i'm sorry about my english.
    i'm trying to make a program - using vuforia and webrtc in unity for android(like vuforia-chalk).
    i can another device connect and video,audio call(from webRTC), but if i import vuforia, i can't connection other device.
    because vuforia occupies the camera first, so webRTC can not access it.
    So, i'm trying to send camera view(or Texture? or byte array? i don't know it is corrrect ) to webRTC or vuforia.

    here comes the maddness :
    1. how do i camera...

    sharing camera data
  • Shared Spheres Example ARKIT 2.0 Freezing Image Frame Good Evening,

    I was taking a look at the github for shared spheres. I am able to get it to run on an Iphone 7 + (though I can't see the spheres), I'm having lots of freezing issues with the IPad pro 9.7, across all the examples. I've updated to IOS 12 beta 6.

    Also just to confirm this is the project that has the shared sphere example like in the video? https://github.com/Unity-Technologies/SharedSpheres



    Thanks!
  • HTC Vive Hand Controllers flickering in scene? View attachment 274100 Hi all,

    Has anybody encountered an error where Vive hand controllers appear to be flickering when the scene is run? Could this be an issue with anti-aliasing? Or

    This is how mine are currently appearing:
    View attachment 274078
    I'm using a perspective camera with parameters:
    Clipping Plane Near: 0.01
    Clipping Plane Far: 900000
    Viewport Rect: X=0, Y=0, W=1, H=1
    Culling Mask: Everything.
    Occlusion Culling, Allow HDR, Allow MSA, and Allow Dynamic Resolution...

    HTC Vive Hand Controllers flickering in scene?
  • Material Changer issues Hello everyone, I am having a problem with a material selector menu in unity. I have followed a 3 part tutorial to get where I am at. The problem that I am having is that when I place my pointer over the buttons they are not updating my object with th...