Coming across errors where all variables in Player's update are unreferenced