OLEGSHA / Progressia

A GPL sandbox survival game
GNU General Public License v3.0
10 stars 4 forks source link

ChunkRender sometimes does not update tiles #4

Closed OLEGSHA closed 3 years ago

OLEGSHA commented 3 years ago

When breaking a block causes tiles to disappear, the chunk may sometimes decide to not remove deleted tiles from the model. The next model update fixes everything.

Steps to reproduce Enter a world, start breaking grass blocks. At some point you will see floating grass tiles that should have been removed. Break another (unrelated) block and observe the tiles disappear. The issue seems to trigger randomly and quite rarely; perhaps once every twenty blocks or so.

This is probably related to lack of synchronization in ChunkRender.

OLEGSHA commented 3 years ago

Cannot reproduce anymore. Probably fixed accidentally when working on chunk transfer. Please re-open if this issue persists.