I have run into this error as well but I can't fix it I think it's is cause I am using unity's player controller...