-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client freeze due to infinite loop in render thread #1674
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The client permanently freezes, and the window becomes unresponsive.
To Reproduce
It's very rare and hard to reproduce, I've only tested it with Razor Enhanced, but it seems to be happening with scripts that make the player move, be it a single step with the Walk function or the RE pathfinding.
Expected behavior
Not freezing.
Information (please complete the following information):
Additional context
When I attach a debugger what I see is that the logic is stuck in this loop:
ClassicUO/src/ClassicUO.Client/Game/Scenes/GameSceneDrawingSorting.cs
Lines 135 to 137 in b5eaa38
The loop takes the next object to process via
obj.TNext
, what I notice is that theobj
refers to my player and thatTNext
is always my player, which causes the infinite loop.I tried to add code in all the places where
TNext
is set, to catch when such connection between the objects is done, but I haven't been able to properly catch it yet.The text was updated successfully, but these errors were encountered: