(If this is in the wrong spot I apologize)
Because the idea of Hand-to-Hand combat in the far future is just so cool and like many on this site I am writr and so I started thinking of ways I would justify Close Combat between military forces in a sci-fi setting and I searched the net and found a few ideas, but they all had fatal flaws
1. Slow-Fields like the ones in Dune.
How do they stop lasers if they're clear?
Lasers and force-fields cause nuclear explosions? WTH?
How come you have to move super-slow to get through one? It doesn't make sense, a person can just dodge around their attacker and never have to parry and a human being is a considerably slower than an bullet or an arrow. So really the characters should have been able to move at full speed and still have a force-field that stopped enemy projectile weapons.
Why fight with swords? I know they have personal force-fields, but why not just take a rifle, stick the first two or three inches of the barrel through and past the field's protection and then pull the trigger?
2. Guns can be hacked.
Guns work on mechanical principles, last I heard it's kinda hard to hack a system of mechanicl parts.
3. Explosive Decompression
Then why do these spaceships carry around frikkin laser beams to carve each other up with if they're worried about explosive decompression?
It's not like Star Wars where the ships slug it out Napoleonic style, Winchell Chung of Atomic Rockets pretty much explodes (no pun intended) that whole idea and pointed out that any starship designer with half a brain would compartmentalize the vessel, plus they'll probably have armor.
Why would you come alongside and board any enemy warship? As the range of weapons increased, boarding actions went the way of the Pike Square. How many times did Battleships close and send their crews over the side with cutlasses in WWI and WWII?
And whenever spec-ops team board a ship to free hostages or something you don't see them bring swords and maces along.
Plus there are now rounds that will punch through human flesh, but not through sheetrock.
4. Swords don't run out of bullets
Yeah, that worked really well for all those spear-wielding tribesmen that charged the British Machine Guns and Riflemen.
I can find some cover and shoot someone a long ways off with a gun before they ever reach me with their magic sword. Even better if I have a Squad with machine guns and grenade launchers.
I can carry a lot more bullets than you can swords
5. Warrior Culture
That might work sometimes until you run into, oh, a culture that has no problem with shooting people from a long ways away.
What about the pragmatic types who decide the find cover and a lot ammo and shoot their enemies from a long ways away?
6. Teleportation/Cloaking Devices
Why not carry a suppressed pistol? Right now (Not to mention sub-sonic ammo) there are suppressors that are good enough that the only sound you can hear is the action cycling and presumably they'll only improve as time goes by.
Why not teleport in, toss a grenade and teleport out and repeat as necesary?
. . . Yes, as a matter of fact, I did put way too much thought into this, thank you for asking.
So with that in mind what reasons would ya'll have for justifying close combat between military forces (so we're not talking about 1x1 or duels here) in a sci-fi setting.