Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.22.7] crash when screencasting (Non-monotonic timestamps) #1826

Closed
bastianilso opened this issue Mar 13, 2020 · 4 comments
Closed

[v1.22.7] crash when screencasting (Non-monotonic timestamps) #1826

bastianilso opened this issue Mar 13, 2020 · 4 comments

Comments

@bastianilso
Copy link

I am trying to screencast the sample scene from Unity, but it seems like the timestamps of eye1 and eye0 causes pupil capture to crash.
image

The crash happens when I activate the recording in pupil capture either manually or if i activate it remotely from unity. Previewing the unity screencast and eyes prior to recording works fine.

Might be related to the fix in 2bd9007 but given that this is with Pupil labs v1.22.7, i guess its a different issue somehow.

@papr
Copy link
Contributor

papr commented Mar 19, 2020

@bastianilso Hi, thank you for reporting this issue. It looks like the hmd-eyes time sync adjusted the "unity clock" by such a high amount that the ith timestamp was larger than the i+1th timestamp.

We are looking into options for handling this kind of edge case.

@papr
Copy link
Contributor

papr commented Mar 19, 2020

@bastianilso After further looking into this issue, it looks like TimeSync has been triggered during the recording. Have you triggered it manually? Or was there a disconnect? Also, how much time passed between the connection event and the recording start?

@bastianilso
Copy link
Author

@papr can't tell - I was just running the example called ScreenCastDemoScene.unity from the Hmd-Eyes.VR.v1.1.unitypackage in hmd-eyes and this was the result. Today I tried importing the ScreenCast Camera.prefab into a new Unity scene and that worked fine. So I guess it is something in the ScreenCastDemoScene.unity that is causing it.

@papr
Copy link
Contributor

papr commented Apr 2, 2020

#1829 will handle this issue gracefully and stop the recording. Please let us know if you are able to replicate the issue with the imported prefab.

@papr papr closed this as completed Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants