Skip to content
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

1.20.6 Spyglass bug #2452

Open
nikolaaafunn opened this issue May 2, 2024 · 2 comments
Open

1.20.6 Spyglass bug #2452

nikolaaafunn opened this issue May 2, 2024 · 2 comments
Labels
F-good-first-issue Flag: Good first issue T-bug Type: Bug

Comments

@nikolaaafunn
Copy link

Bug Description

Spyglass zoom and unzoom with Sodium installed causing chunk unloading.

Reproduction Steps

Install 1.20.6 and latest version of Sodium from Modrinth.
Set your ingame FOV to the "Quake Pro"
Create a new world with seed -1399078040570737153 with Creative game mode and enabled console cheats.
Set yourself in the fly mode and execute this command /teleport @s -11 160 -15 154.8 9.1.
Look around and wait until all chunks in your sight radius will be loaded.
Give yourself a spyglass.
Execute /teleport @s -11 160 -15 154.8 9.1 again.
Zoom into a spyglass and do not change your view angle in that time.
Wait 5 seconds.
Unzoom.
Observe the bug.

The chunks will be unloaded until camera angle change or a major tick update.
spyglass

Log File

Not applicable.

Crash Report

Not applicable.

@nikolaaafunn nikolaaafunn added the S-needs-triage Status: Needs triage label May 2, 2024
@MeeniMc
Copy link
Contributor

MeeniMc commented May 2, 2024

can replicate in 0.5.8+1.20.6, this is also present in 0.6, 0.5.8+1.20.4.

@jellysquid3
Copy link
Member

This is probably just the result of the fact that we aren't marking the scene as needing updates when the viewport changes. Someone else may find it an easy thing to fix.

@jellysquid3 jellysquid3 added T-bug Type: Bug F-good-first-issue Flag: Good first issue and removed S-needs-triage Status: Needs triage labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-good-first-issue Flag: Good first issue T-bug Type: Bug
Development

No branches or pull requests

3 participants