I'm having some trouble with taking damage in certain areas. I recently implemented fixed camera screens. Where instead of scrolling the camera will stay fixed in one area and then pan to the other. For some reason though, when I get hit by enemies in these fixed camera areas, my player turns invisible and doesn't take damage. When I walk back to a normal scrolling area, my character flashes like he took damage and returns to normal. I assume this has to do with my events that play out when my player takes damage. But looking over those events, I don't see how the camera would effect it.
Here is my project file: drive.google.com/file/d/1XXxEobpweiX9qJV7W7mIyytLBJWTW4zs/view
To simulate the problem walk into the cave and take damage. If you walk out of the cave and back to where the camera scrolls the player will become visible again.