MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Often (but not always) 'double vision' of close by objects

Open LocalJoost opened this issue 9 years ago • 24 comments

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

LocalJoost avatar Oct 25 '17 19:10 LocalJoost

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

StephenHodgson avatar Oct 25 '17 19:10 StephenHodgson

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 [email protected] 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.

LocalJoost avatar Oct 25 '17 19:10 LocalJoost

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 [email protected] 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.

LocalJoost avatar Oct 25 '17 19:10 LocalJoost

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

keveleigh avatar Oct 30 '17 18:10 keveleigh

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 [email protected] 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.

LocalJoost avatar Oct 30 '17 19:10 LocalJoost

Because it makes the chance of this happening less

What is "this" referring to?

keveleigh avatar Oct 30 '17 20:10 keveleigh

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 [email protected] 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.

LocalJoost avatar Oct 30 '17 20:10 LocalJoost

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 [email protected] 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.

LocalJoost avatar Oct 30 '17 20:10 LocalJoost

FYI for folks, we are investigating this with Unity.

ChimeraScorn avatar Oct 30 '17 20:10 ChimeraScorn

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.

ChimeraScorn avatar Oct 30 '17 20:10 ChimeraScorn

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 [email protected] 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.

LocalJoost avatar Oct 31 '17 04:10 LocalJoost

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.

Alexees avatar Nov 01 '17 15:11 Alexees

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 [email protected] 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.

LocalJoost avatar Nov 01 '17 16:11 LocalJoost

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

Alexees avatar Nov 06 '17 08:11 Alexees

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.

StephenHodgson avatar Nov 06 '17 16:11 StephenHodgson

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 avatar Nov 06 '17 19:11 timGerken

@timGerken The patch release is out #1301

StephenHodgson avatar Nov 06 '17 19:11 StephenHodgson

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

timGerken avatar Nov 06 '17 19:11 timGerken

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 [email protected] 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 avatar Nov 06 '17 19:11 LocalJoost

@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

timGerken avatar Nov 06 '17 19:11 timGerken