Every party should include a member who is optimised for stealth, or technical expertise, or agility, or healing powers, or social clout - basically something other than combat.
So you can make the other characters have to rely on them for defence at some stage, of course.
GM: A squadron of combat droids appears to lead you away.
R2-D2: Aha! Behind the walls! I only scanned the ceiling and floor. Sneaky.
R2-D2: Let's kill these goons and get out of here.
Obi-Wan: You're the only one not caught in the force field.
R2-D2: Right. I use my plasma torch.
GM: That's only good at zero range.
R2-D2: I wirelessly hack into the weapon systems of an adjacent dreadnought and have it vapourise them through the wall.
GM: I don't think so.
Obi-Wan: So really no room for weapons in your build, huh?
R2-D2: Ah! Shock probe!
GM: That makes them angry. One kicks you over.
Obi-Wan: Very effective.
R2-D2: I didn't mean at the droids...