I set up portal nodes in different scenarios within the project to enable quick scene transitions.
However, during testing, the player occasionally clips through the collision box of the portal node (PortalCollision) without transitioning scenes.
This used to be a probabilistic issue, and I couldn’t find the cause for a long time.
Today, I discovered a scenario where it triggers 100% of the time, so I’m reporting it here. I hope it can be fixed.
Basic conditions: The player touches the portal node on the right side from Scene A to enter Scene B, and then touches the portal node on the left side in Scene B to return to Scene A.
Reproduction steps:
If you press the left movement key immediately after switching to Scene B, the player will clip through the portal node’s collision box (PortalCollision) to its left side and end up outside the map boundaries.
Similarly, regardless of which portal node is involved, if you move backward immediately upon clipping through, it will definitely fail to transition scenes. I suspect this is likely because the portal node hasn’t spawned yet at the moment of scene switching? I hope this can be optimized and fixed.
Some players who take a wrong turn want to quickly return, which easily triggers this bug, causing them to fall out of the designer’s map tiles ![]()



