I think I need to further clarify what I mean.
D&D rules are not meant for video games. I don't think that simply carrying over the 5e ruleset will work that well.
Well, you're totally wrong, and so is Larian in almost all of the ways they deviated from the rules.
Time and time again I'm getting the feeling in this game that none of what I do or skill really matters. It's all just luck.
My Warrior who can not cast spells or is trained in Arcana can just do magics if the dice says so. Where in RPGs usually things like armor, weapons, attributes and tactics determine what kind of build you play here it just doesnt matter that much.
At the end it feels more like picking a skin and pulling the lever on a slot machine.
The entirety of the game is based around two things: roleplaying and rolling dice. It has always been that way. You're rolling the dice to represent random events and roleplaying out those results. So yes, you are pulling the lever on a slot machine. Want to make a perception check? Pull the lever. Want to persuade someone of something? Pull the lever. Like in real life, even the most skilled fighters can get hit and sometimes they die. A higher AC reduces the chance of that hit landing.
The issue you have with your "Warrior" being able to do magics if the dice say so is because the game is NOT following the rules of 5e. A "Warrior" should not be able to cast magic.
Your class determines what sort of armor, weapons, ability scores, and tactics will work for your character, and that influences your build. A Wizard cannot wear heavy armor. A Wizard cannot use martial weapons.
You just seem wholly unfamiliar with the D&D system, which I think gives great insight to the fact that the changes Larian has made are perceived as negatives even by those who are unfamiliar with the system they are SUPPOSED to be using.