30s long world loading screen caused by specific join position
booky10 opened this issue ยท 6 comments
Bug Description
I'm currently experiencing an issue where the world loading screen is always exactly 30s (vanilla limit) long.
After some testing and staring at code, I think I've figured out the cause of the problem.
The world loading screens ends when the chunk section which the player is in gets built for rendering. If your spawn direction doesn't point at where your current section is, sodium doesn't built this section and the world loading screen won't end.
A possible fix for this problem would be to always build the section which the player's position (not their eye position) is in, regardless if visible or not.
Reproduction Steps
(Tested with an FOV of 90, issue will be present at more positions with an FOV of 30)
- Teleport to
-111.50 127.00 -44.50 90.00 0.00
- The eye position of player is in a different section than the bottom position of the player
- The player's section isn't visible to the camera
- Rejoin your world
Log File
Crash Report
Do you have a specific seed you used for testing? I'm not able to reproduce this, but the logic error seems valid from a code analysis.
I can reproduce this on any world, as long as the bottom section has a block in it somewhere.
Possibly related to #2157.
Commit b90ca83 may fix this problem. Not sure yet.
This issue appears to be fully fixed with the addition of d9081b4 in my testing. Please let me know if you are still able to reproduce it despite these fixes.
This issue appears to be fully fixed with the addition of d9081b4 in my testing. Please let me know if you are still able to reproduce it despite these fixes.
I also can't reproduce this any longer, thanks for fixing! ๐