Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Constant Debug Log Errors while using Mock HMD in Editor

Discussion in 'VR' started by dlackey_bh, Oct 17, 2020.

  1. dlackey_bh

    dlackey_bh

    Joined:
    Jul 18, 2014
    Posts:
    11
    I'm trying to integrate the Mock HMD for use in our development process. In play mode, every frame, there is this log error:

    Obviously, the Game window is trying to draw something that seems not to be there. Have not yet tried a build (I'm about to leave for the day). I did have a separate project with nothing in it, so I tried the Mock HMD plugin there and did not see the error. Not sure what the difference is. I'm unable to produce a small project that reproduces the error, and I am not at liberty to distribute our production project. Not even really sure it would help since it looks to be happening in Unity-land code and not user-land.

    Any help or guidance would be appreciated.
     
  2. Shaunyowns

    Shaunyowns

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    328
    Hey @dlackey_AEgisTG, there could be several factors causing the issue, and unfortunately it's hard for us to investigate without a reproducible project. At the very least, can you file a bug with the log file attached so the team can take a look? Thanks!
     
  3. dlackey_bh

    dlackey_bh

    Joined:
    Jul 18, 2014
    Posts:
    11
    Thank you for the reply. I'm working with IT at the moment to try and get Unity's bug reporter unblocked from the web filter. Will submit a bug asap.
     
  4. dlackey_bh

    dlackey_bh

    Joined:
    Jul 18, 2014
    Posts:
    11
    Bug submitted. Case 1289987. Hopefully someone can make sense of it.
     
  5. Real-LifeAssets

    Real-LifeAssets

    Joined:
    May 9, 2020
    Posts:
    3
    It is actually pretty easy to reproduce, just create empty project, enable XR plugin management and XR interaction toolkit, install Mock HMD loader, add room-scale XR rig to the scene and here it is! Reproduced in Unity 2020.1.13f1
     
    carsanwitt and xshadowmintx like this.
  6. xshadowmintx

    xshadowmintx

    Joined:
    Nov 4, 2016
    Posts:
    47
    Seems like you can fix this by rolling back to the preview.1 - 1.1.3-preview.1 package or before.

    Definitely a paper-cut, but that's what you get for using preview packages I guess.
     
  7. dlackey_bh

    dlackey_bh

    Joined:
    Jul 18, 2014
    Posts:
    11
    Haven't logged into the forums for a while, so I'm just now seeing the replies. We're actually using 2019.4.12f1 for our product (not moving up to 2020 for a while), and that's where I am seeing the issue.