Issue with portal nodes teleporting through objects at the start of a scene.

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 :rofl:

There is an answer here about why this change happened Portal node responds only to horizontal inputs. In 2.0 a portal won’t trigger again until the player has stepped out of its collision once, so you don’t get stuck in an infinite loop between two portals. The player appears at the Portal node itself, not the PortalCollision, so if the box is sitting on top of the Portal node, turning back right away just walks you deeper into the box and out the other side.

I tested moving the PortalCollision toward the edge of the map so the Portal node sits a little outside of it. The player arrives clear of the box, and walking straight back in sent me back right away.

I don’t think the v2.0 changes caused this issue, as I hadn’t adjusted this distance in v1.3. If the official explanation is that touching the PortalCollision again after teleportation automatically triggers another teleport, then this phenomenon should have occurred in v1.3 as well—but it didn’t.

Currently, with my setup, the Player does not come into contact with the PortalCollision after being teleported from the Portal.

If I wait 0.5–1 second after teleporting before turning back, I get teleported successfully. However, if I turn around immediately without waiting, I pass right through the PortalCollision.

This makes me wonder if the PortalCollision hasn’t spawned yet? Or perhaps because I turned around so quickly, I overlapped with the PortalCollision immediately, causing the system to register it as “direct contact” and thus fail to trigger the teleport?

录制_2026_10_27_12_45_38_826
↑ Please see the current behavior here. For the first few attempts, I waited a moment before returning; later, I returned immediately after switching scenes.

It is possible to increase the distance between the Portal and the PortalCollision. This way, even if the Player turns back, they would need more than 0.5 seconds to reach the PortalCollision, allowing the teleport to succeed. However, this might create a slight sense of disconnect for the character during scene transitions :sweat_smile:.

Update: I conducted multiple tests by increasing the distance and confirmed that the Player does not actually touch the PortalCollision. Yet, returning immediately still results in passing through the PortalCollision.

I suspect the AGM system might be programmed such that if the Player contacts the PortalCollision within X seconds after a scene switch, it registers as an overlapping contact and invalidates the teleport. :sweat_smile: Hope this can be optimized.

@Baz I tried placing the Portal and PortalCollision in a test where they are more clearly visible on camera.

recording_2026_10_27_13_43_03_83

As you can see, there is a gap between the player and the PortalCollision. However, if you quickly turn around, you still clip through it.

I think I’ve managed to reproduce this issue.
The way this problem is described seems to suggest that there’s a bug in the portal’s leave-and-re-enter detection — in some cases it just doesn’t trigger consistently,
especially in the short window right after a scene transition.
This is likely a bug, so I’ll go ahead and report it. Please stand by for a fix.

2 Likes

newchicken_portal_demo.7z.rar (4.3 MB)
I’ve provided a minimal reproduction demo. Due to the forum’s size limit, I used 7z compression — please remove the .rar extension before extracting.

Reproduction steps:
After colliding with a PortalCollision (portal collider), press the Back button. When you teleport to the new scene and move to trigger the PortalCollision (portal collider) again, it passes through the invalid contact. This trigger window is roughly within 0.3–0.5 seconds; if you wait longer than that before making contact, the issue does not occur.

1 Like

Thank you for your ongoing support.

Regarding the issue you reported, where players would pass through the portal immediately after a scene started, this has been fixed in version 2.1.1, which was released today.
In addition, we have added a setting to the portal that prevents it from re-transitioning until it exits the hitbox.
We would appreciate it if you could update and verify the fix.

We apologize for the inconvenience.
Thank you for your understanding.

Hello, I tested it right at noon. I haven’t made any changes to the settings after the update.
The default setting for “Do not re-trigger teleportation before judgment ends” is enabled and has not been modified.
The issue of passing through no longer occurs. :saluting_face:

This update adds many detailed settings for the teleportation feature, which is very user-friendly. Thank you very much!

1 Like