[SPIGOT-4884] Chunks lose all light data when unloaded Created: 06/May/19 Updated: 15/May/19 Resolved: 06/May/19 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Kenn McLeod | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | 1.14, ChunkUnloadEvent, lighting | ||
| Environment: |
API 1.14-R0.1-SNAPSHOT - No Plugins - Vanilla Java 1.14 Client |
||
| Attachments: |
|
| Version: | git-Spigot-1eece4f-84400e6 (MC:1.14) |
| Guidelines Read: | Yes |
| Description |
|
(First bug report attempt, please let me know if there's anything I can do to provide better information.) Most chunks, but specifically ones with villages, lose all block light data when unloaded. This means that after a player logs off, or returns from the Nether, all light blocks, such as torches, lamps, and jack-o-lanterns have a block light value of 0 (as seen from the F3 data screen under "Block Light: 0")
Reproduction: 1) Place light sources, such as torches, in a general area, spanning multiple chunks. Notes: I have spent nearly a week investigating this. I cannot find a mention of this online, and cannot find a way to prevent this from occurring. I have updated the Spigot server via BuildTools whenever a new version is available (checked through /about in-game) hoping for it to be fixed. We can reproduce this quite consistently on a public server, should someone who thinks they can help need to see this. Been using Spigot for years, and I'm at a complete loss. Random-light-updates also does not seem to activate from any configs, and has yet to have any effect on this error. Does not affect vanilla 1.14 server nor client, not reported to Mojang |
| Comments |
| Comment by Kenn McLeod [ 15/May/19 ] |
|
Apologies for the confusion. Like I said, first bug report... Due to the immense difficulty reproducing the bug, this has been hard to keep track of. For a while, it was every few minutes. For a while, it never occurred. The issue continues to occur, and continues to have no consistent reproduction beyond just unloading chunks until it happens. Our current "fix" does very little, and is similar to Mojang's recommendation. Every so often we have spigot Force-Update all chunks while also erasing Cache data, which scans for and resets all blocks and block lighting. After this ticket closed and it happened again, I had found the vanilla ticket before reopening this one. Sorry for getting hopes up. |
| Comment by md_5 [ 15/May/19 ] |
|
nothing was done to fix it, I relied on the comment of the person that said it didn't affect them, but duplicate or invalid probably would've been just as appropriate a resolution. Only resolved means it was actually fixed |
| Comment by Chris [ 15/May/19 ] |
|
Just a heads up, this was a vanilla bug. Is there a way you could post on the Mojang bug tracker what the fix is so that the fix can be implemented in Vanilla 1.14.2?
https://bugs.mojang.com/browse/MC-142134
If this is truly fixed with Spigot, then that is huge. This bug has hundreds of comments and people on the watchlist and is one of the nastiest bugs to plague Minecraft at the moment! |
| Comment by Kenn McLeod [ 06/May/19 ] |
|
Updated to today's build, having a few players and myself testing extensively, but as of Build git-Spigot-1eece4f-fe1199c this error is no longer occurring. |
| Comment by md_5 [ 06/May/19 ] |
|
Need detailed step by step reproduction info |