Skip to content

psmove_tracker_new hangs if called more than once #218

@DrummerB

Description

@DrummerB

Hi,

I'm trying to get psmove to work in Unity, including tracking. I've looked at UniMove and UniMoveX and was able to get it all up and running on a Mac with the included PSEye camera.

However, there seems to be an issue in psmove_tracker_new that causes a freeze, when called more than once. When I first start the game within the editor, everything works fine. If I then stop and restart the game, the entire editor hangs and crashes. I tracked the crash to the initial call of psmove_tracker_new.

It's easy to reproduce this issue without Unity or UniMoveX. For instance, you can modify the test_tracker program to just do the whole thing twice. It crashes on the second run:

https://gist.github.com/DrummerB/76bdfd7cc2a106f5a367

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions