Search Unity

Unity 5 with Kinect SDK freezes when changing an Inspector variable

Discussion in 'Editor & General Support' started by antony1316, Sep 4, 2015.

  1. antony1316

    antony1316

    Joined:
    Jan 30, 2014
    Posts:
    4
    Hello there,

    I recently upgraded a project of mine to Unity 5.
    My project uses the official Microsoft Kinect SDK Unity package.
    In Unity 4, I was able to use the package perfectly.
    However, in Unity 5, if I change any inspector variable on an object that is polling/using Kinect data, the entire Unity engine freezes for dozens of seconds.
    If I change the same value using an Input.GetKey call, the freeze does not occur.
    I was hoping someone could help me determine why Unity 5 is causing this freeze.

    Also, when do inspector variable changes get pushed to the game?

    Any help is greatly appreciated.

    Thank you,
    Antony
     
  2. Jordi-Bonastre

    Jordi-Bonastre

    Unity Technologies

    Joined:
    Jul 6, 2015
    Posts:
    102