Zylann / voxelgame

Voxel world prototype made with Godot Engine
Other
513 stars 84 forks source link

Not working properly blocky_game.tscn #87

Closed HK-SHAO closed 2 years ago

HK-SHAO commented 2 years ago

image image

When I run blocky_game.tscn, I can't see any squares, but I can see the fired projectiles. Godot keeps reporting errors.

I'm using the Github Actions compiled version: https://github.com/Zylann/godot_voxel/actions/runs/1568249566

E 0:00:01.694   VoxelBufferInternal::copy_from: Condition "other_channel.depth != channel.depth" is true.
  <C++ source>     modules\voxel\storage\voxel_buffer_internal.cpp:557 @ VoxelBufferInternal::copy_from()

https://github.com/Zylann/godot_voxel/blob/master/storage/voxel_buffer_internal.cpp

Zylann commented 2 years ago

Try the following:

The demo primarily works with 8-bit voxels but the default is 16. There is likely an issue somewhere but haven't had time to look into it at the moment.