YOU ARE A GENIOUS!Well for me it happens when I jump down from the ledge and goes to the boss. When I attack him like once or twice he then roars and when I try to run around him she just clips through the floor and end like directly about 20 meters under the floor. I can even see the demoness tries to kill him.
I tried it without the enemy focus and it worked fine and I killed him. Maybe there is a bit of a problem with the enemy focusing during this fight.
It does makes sense because when you have a target locked, we force the character's rotation in C++, when the target is not locked, we just update her rotation when she attacks (to make she face where the camera is aiming at before attacking). So maybe the ragdoll effect that happens when you receive that charging or horn attack from the boss is causing conflicts with this rotation we set with lock-on, causing the capsule to get under the ground collision. If this is the problem, we can solve it by simply disabling the lock-on rotation when the player is under ragdoll effect and BOOM!
I'll try this solution after I'm done with a new female\female animation and let you know if this was in fact the problem. Thank you!