unity plugin. fixed consume bug