It just aggravates me that Range has almost no drawbacks in my opinion. Like how you said that inventory space being used up by ammo is a drawback, it's really not. Ranger's have 4 whole ammo slots that can store almost four thousand bullets, just for them. Also, endless bullet pouch.
For casual play, yeah, that's true. But if you branch out to using multiple types of weapons, in the late game you'll be carrying tons of ammo on you in your inventory as well as in your ammo slots, and if you really want to minmax, you end up not using your ammo slots at all and you carry your ammo in small stacks to let it get consumed in order to apply debuffs such as Ichor with a small stack of maybe 10~20 bullets, then go back to using your high damage bullets, then those run out in time for Ichor to need to be re-applied, etc...
Intense, min-maxy Ranged gameplay uses a lot of your inventory.
The problem is, if you really want to fight, you gotta get in close quarters.
This becomes less of a thing the further into the game you get - as bosses become faster and more complex, and closer and closer to becoming bullet hell-like encounters, everyone starts getting ranged options that use their primary damage type. Bananarangs, Light Discs, Paladin's Hammer, projectile-launching swords, Flairon, Daybreak...
And yet, despite all of these powerful ranged options that scale off melee damage, the most powerful is still a YOLO-tier autoswing weapon.
I post this a lot but this is still a really good example of melee gameplay against one of the most dangerous, anti-melee bosses in the game - you whittle it down with your melee-class projectile weapons before going in with a high-damage, "true" melee weapon when you safely can.
Extensive melee gameplay can involve tanking, and it can involve sheer attack speed DPS, but nothing really beats getting in your target's face and hitting it. Higher risk, but great payout.
And this all loops back into the opening post - a mechanic like this adds nothing to gameplay. It would make a character with a gun unironically worse at sustained ranged damage than a melee dude throwing a hammer.
It's okay to be frustrated that a class can have an easier time doing something than your preferred class, but that doesn't particularly mean the other needs to be brought down to your level when it means yours could just be brought up to their level instead.
And I say this as somebody who prefers fighting Martian Saucers on foot with melee-classed weapons.