Fix issue when get player object in debugger