Previously I was getting error that the thread is doing to much of work and thus it skipped many frames so i tried to run it on different thread But I am getting this error.