I've been working at a tech startup since October 2020 in the AI team as a part time research assistant. The work I've done till date is making datasets, computer vision research, writing patents, and deploy models. My boss/manager is one of my professors who is a consultant at the company. He is currently not in the country due to postdoc research in Japan.
The issue that I'm facing is that he doesn't pick up my phone call and doesn't reply to my text. But when I get stuck or have slow progress and need to clear things up, he gets angry.
In April 2021, I wrote patents for the company working overtime exceeding my 25 hour per week schedule by almost doubling the time I was investing. After that, he told me to search for some papers and do a specific task on a paper which I sent him 4-5 months ago without mentioning the name. He didn't tell me at first that it was a research paper I sent him. Then I got all confused, but since he didn't reply, I couldn't clear things up and 20 days later, he scolded me. Not to mention several rejections of pay raise since I was initially recruited as an intern and then given the part time position, but still paid the same salary.
Then, from June 6 2021, he shifted me and my other teammate to a research project working full time which was unrelated to the company and the project we were assigned initially for the purpose of learning. Fast forward to July 12th, we've written the research paper, but he wants it to be better to make it publishable for journals, but after texting him with updates that he wanted on July 16th, he ghosts us for 4 days.
During our holidays of Eid, he started to message us for updates, and the day after the office opens, he calls two other people to assist us or rather replacements for our project. We've worked with them too. But since some are more senior than us, they get work done faster than us two. Still, I update him with what I've progressed, but I don't get replies or calls from him. I'm doing all this during the immense pressure of my academic life with regular exams.
We've tried everything. But he says that we've not done anything in the last four months. He even blames us for not telling him to stop an unused deployment server which we definitely told him and other seniors thrice. And now, he warns us that he'll fire us and gives us the last chance. What do I do? I know that he's busy with students, his research, and the office and thesis. But is what he's doing right? Or am I wrong?
I'm completely frustrated and depressed. I'm having nightmares and irregular sleeping patterns because of this. Please help me with your suggestions.