I’ve noticed 2 (potential) issues with the transparency.
The first is that enemies trigger it. This means that if the player is under the canopy and the enemy triggers the exit, the player is obscured.
The second one is that attacking while transparency is on turns the transparency off.
To rectify this, I’ve created some more collision layers (enemy and weapon) and set the appropriate collisions in the project settings - Physics 2D - Layer Collision Matrix