those functions just change the collision and the visiblity of the player they’re not doing anything with the boolean. and the weird thing is that the hide and unhide work with no problem, the problem is when i want to reference this bool to change the behavior of my ai and that’s where it breaks.
i actually lloked it up and some people have had this problem aswell so maybe it’s bug in the engine?