Is this Virtual Revolution (2016), also known as 2047: Virtual Revolution...?
In a future mega city, where most people spend most time hooked up to a virtual world, an agent, employed by a corporation supplying virtual reality, is busy tracking down killers/terrorists, both in the virtual and real world.
The film is set in a futuristic version of Paris that bears a striking resemblance to the version of Los Angeles depicted in Blade Runner. In this world, 75% of people spend almost all their time logged into virtual reality massively multiplayer online role-playing games known as 'Verses;' these people are known as the 'Connected.'
The protagonist -- a Rick Deckard knock-off called Nash Trenton -- is a 'Hybrid;' someone who spends part of their time in virtual reality and part of it in the real world. When he's in the real world, he works as a shadow agent for a corporation running one of the Verses, but rather than being paid to hunt and kill replicants, his targets are 'Necromancers,' a group of terrorists who've recently been killing Connected individuals with a digital virus.
Around 26 minutes into the film, there's a scene where the male protagonistTrenton logs into a virtual worldVerse using another man's VR set-upa Necromancer's equipment and account. He wakes up in the body of a blonde woman who isfemale avatar lying naked in a bed with two other naked, lesbian or bisexual women.
The protagonist He gets up out of the bed, looks at his avatar's reflection in a nearby mirror, and says "typical.," He then puts on some clothes lying elsewhere in the room -- a mixture of fabric, leather and metal armour, that still leave alot of bare skin exposed, as is common for female video game characters -- picks up a firearm and walks out ofleaves the room.
After that, he meets up with a male character and they team up together in a fight against other characters, including one or morea mecha-style robotsrobot. This specific Verse has urban military sci-fi stylings, althoughso the protagonist only uses firearmscharacters (including Trenton's) use modern/futuristic weaponry, not a sword. This virtual world combines both medieval fantasysuch as firearms and science fiction elementsgrenades, rather than swords.
I looked throughWhen Trenton logs into his own VR account though (which he does repeatedly in the rest of this film and didn't find a scene where the protagonist wields), he enters a sword as that femalemedieval fantasy style Verse in which his character, although there is a later scene where he wieldsmale swordsman who travels with a sword assmall party of other similarly-themed adventurers. In the opening scene, we see him and his comrades battling a malefemale character who uses both a sword and magic.
There's a brief shot of the protagonistTrenton waking up as the blonde womanfemale avatar at around the 0:29 mark in the trailer below.