Mixedrealitytoolkit-unity: Often (but not always) 'double vision' of close by objects

Created on 25 Oct 2017  ยท  24Comments  ยท  Source: microsoft/MixedRealityToolkit-Unity

I have not been able to put a definite repo for this, but using Unity 2017.2.0.f3 MRTP I often get 'double vision' of objects that are close by. It feels like anything closer than about 1.5 meters. Cursor seems displayed twice close to each other, I also see two instances of the same controllers through each other when I use only one. It looks like the stereoscopic view does not work properly. When I download my app from the store, everything is fine.

Sometimes restarting the Mixed Reality portal helps, sometimes not even a reboot helps. I thought it had something to do with tracking, but apparently not

Immersive HMD

Most helpful comment

This is decidedly not a MRTK bug. I've verified it fixed in an upcoming 2017 MRTP build that should be released more broadly once it gets through Unity's testing process.

All 24 comments

I've seen this as well. Didn't know a reboot or relaunch of the portal helps. Thanks!

It SOMETIMES helps. Pretty sure it is a race condition. /ref Slack

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Stephen Hodgson notifications@github.com
Sent: Oct 25, 2017 21:16
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

I've seen this as well. Didn't know a reboot or relaunch of the portal helps. Thanks!

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-339440428, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8Bn_5HBmm2Mi3lwoqap7C6s6JLdLG2ks5sv4kIgaJpZM4QGf4L.

This seems to fix the double vision. Changed MotionControllerVisualizer

private IEnumerator Start()
{
    yield return new WaitForSeconds(5);
}

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Joost van Schaik
Sent: Oct 25, 2017 21:41
To: Microsoft/MixedRealityToolkit-Unity
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

It SOMETIMES helps. Pretty sure it is a race condition. /ref Slack

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Stephen Hodgson notifications@github.com
Sent: Oct 25, 2017 21:16
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

I've seen this as well. Didn't know a reboot or relaunch of the portal helps. Thanks!

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-339440428, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8Bn_5HBmm2Mi3lwoqap7C6s6JLdLG2ks5sv4kIgaJpZM4QGf4L.

This seems like a Unity bug to me. Have you filed anything?

No... Because it makes the chance of this happening less, but not zero. A bit worried about the Unity QA TBH

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Kurtis notifications@github.com
Sent: Oct 30, 2017 20:26
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

This seems like a Unity bug to me. Have you filed anything?

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-340536569, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8Bnw13rzs90z7_BRoUUpQ9aqYP7er-ks5sxhKdgaJpZM4QGf4L.

Because it makes the chance of this happening less

What is "this" referring to?

Sorry. Delaying MotionControllerVisualizer init

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Kurtis notifications@github.com
Sent: Oct 30, 2017 21:10
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

Because it makes the chance of this happening less

What is "this"?

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-340568957, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8BnyMeMmeUDF4aHJdZmhnP8_8Qw-Eiks5sxi01gaJpZM4QGf4L.

That makes the chance of double vision less. At least I think so

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Joost van Schaik
Sent: Oct 30, 2017 21:32
To: Microsoft/MixedRealityToolkit-Unity; Microsoft/MixedRealityToolkit-Unity
Cc: Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

Sorry. Delaying MotionControllerVisualizer init

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Kurtis notifications@github.com
Sent: Oct 30, 2017 21:10
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

Because it makes the chance of this happening less

What is "this"?

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-340568957, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8BnyMeMmeUDF4aHJdZmhnP8_8Qw-Eiks5sxi01gaJpZM4QGf4L.

FYI for folks, we are investigating this with Unity.

Also, I'd recommend against doing unnatural things to work around this, as those workarounds can creep into final apps. :) We will share info as soon as we have it.

I know but things sometimes just gotta work, right? ๐Ÿ˜€

Joost van Schaik

Windows Development MVP
Sent from mail for Windows 10

"The world as I envision it in my head is such a more interesting place"


From: Chris White notifications@github.com
Sent: Monday, October 30, 2017 9:39:59 PM
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

Also, I'd recommend against doing unnatural things to work around this, as those workarounds can creep into final apps. :) We will share info as soon as we have it.

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-340577159, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8Bn9t6E35YkXKfsvINZCi13F4G3uEgks5sxjQegaJpZM4QGf4L.

I'd like to add that the amount also seems to change. Sometimes it's negletable and feels correct, though a little fishy, sometimes it hurts the brain. And there's also in between situations.
This never happened to our project until using MRTP3, but what do you know, maybe we were just lucky.

I had it with MRTP, haven't tried MRTP3

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Alexees notifications@github.com
Sent: Nov 1, 2017 16:32
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

I'd like to add that the amount also seems to change. Sometimes it's negletable and feels correct, though a little fishy, sometimes it hurts the brain. And there's also in between situations.
This never happened to our project until using MRTP3, but what do you know, maybe we were just lucky.

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-341141902, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8Bnxv50VrjLN_Y364aLqgncoXbAH_pks5syI8LgaJpZM4QGf4L.

When I download my app from the store, everything is fine

You were lucky then. In my case, the double vision krept into the store build

Actually, I'm starting to suspect this is also a bug in the MRTK. The reason I think this is because the controller models don't have a collider and we're not moving the focus plane to them when our gaze hits it.

This is decidedly not a MRTK bug. I've verified it fixed in an upcoming 2017 MRTP build that should be released more broadly once it gets through Unity's testing process.

@timGerken The patch release is out #1301

@StephenHodgson Yes, but the bug fix is in a separate (currently private) MRTP4 build off of that patch release.

Yikes. I have posted a version with MRTP3. Can I please have that private beta? Or else and ETA? ๐Ÿ˜€

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Tim Gerken notifications@github.com
Sent: Nov 6, 2017 20:27
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Author
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

@StephenHodgsonhttps://github.com/stephenhodgson Yes, but the bug fix is in a separate (currently private) MRTP4 build off of that patch release.

โ€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-342258312, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8BnwRF8V1X-JBg_kAINhyahhHjAnQhks5sz12igaJpZM4QGf4L.

@LocalJoost
If you had access to MRTP3, you should also gain access to MRTP4 when available.
At this point, I can't provide an ETA.
@ChimeraScorn

Already have a PR #1312 for it! Thanks @timGerken

Awesome

Joost van Schaik

Windows Development MVP

"The world as I envision it in my head is such a more interesting place"


From: Tim Gerken notifications@github.com
Sent: Nov 7, 2017 18:08
To: Microsoft/MixedRealityToolkit-Unity
Cc: Joost van Schaik; Mention
Subject: Re: [Microsoft/MixedRealityToolkit-Unity] Often (but not always) 'double vision' of close by objects (#1236)

MRTP4 is now availablehttps://forum.unity.com/threads/custom-build-2017-2-rc-mrtp-windows-mixed-reality-technical-preview.498253/

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/MixedRealityToolkit-Unity/issues/1236#issuecomment-342552436, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8BnxIKfhgUXdSWOyec0rqtOGD-6bgxks5s0I6PgaJpZM4QGf4L.

Oh yeah, can't wait too see again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amfdeluca picture amfdeluca  ยท  3Comments

StephenHodgson picture StephenHodgson  ยท  3Comments

markgrossnickle picture markgrossnickle  ยท  3Comments

reillydonovan picture reillydonovan  ยท  3Comments

brean picture brean  ยท  3Comments