Skip to content

Conversation

@DBKAHHK
Copy link

@DBKAHHK DBKAHHK commented Dec 29, 2025

The root cause of the crash is that the task (TriggerFloor) is triggered directly during the construction/initialization of the SceneInstance. During this process, EnterScene or LoadScene may be called again from within the task, causing a recursive loop: “load scene → trigger task → load scene again.” This recursion eventually leads to a stack overflow.
详细的改动过程此前已经提交过Pull requests,此次提交是为了简化流程。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant