I think that this is intentional and not a bug. When an enemy is very close to me they are invisible. This literally breaks the game because I cannot tell when an enemy is very close to me and hitting me. Get rid of this.
They are inside your hitbox, thats why you also miss them with you are autoattacks.
Same stuff happened in VT2 - can only be a matter of weeks for them to fix it.