Well... maybe it's just bad luck after all? I mean, she's completely RNG, even in detecting you. I use the random float function for her to decide if she heard or saw you, in tests she sometimes seems blind or I don't even see her on the map, sometimes she's like a panther, spoiler about a function, she has two states when hunting, going towards a random waypoint in search of the player, or going to a waypoint closer to the player, if she hears you, she will ALWAYS go to the last position of the sound she heard (she creates a game object where she heard the sound and follows that game object), and lastly a tip, look for the shotgun, every time you shoot her, you reset her system and gain 5 seconds to escape, right after she catches you and you get up, you can also shoot her, I hope this helps!
(In the future I will make her easier, because the other animatronics are going to be MUCH harder... especially Roxanne Wolf who will run through the corridors instead of walking)