-
Notifications
You must be signed in to change notification settings - Fork 97
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
blocky_game: VoxelTerrain supports only stream channels "Type" or "Sdf", but 'get_used_channels_mask()' tells it's providing none of these. #76
Comments
Double check there is a VoxelViewer placed as a child of the CharacterAvatar? |
Have you tried Ctrl-Shift-F5 and running blocky_game/blocky_game.tscn that way? |
I was previously opening blocky_game.tscn and using F6 to run. Tried Ctrl-Shift-F5 and selecting blocky_game.tscn and the same thing happened. Could the number of streaming tasks indicate a particular issue? When I run it the # of streaming tasks begins to climb, first slowly and then rapidly, until there are 1000s. That doesn't seem right at all. |
When I run it, streaming tasks drops from a high of ~4600 to 0 over about 15 seconds. I don't have any further ideas, sorry. I think voxel_game might be out of sync with godot_voxel. It runs on my build but I get a ton of file errors. Perhaps try Zylann on godot Discord if he doesn't comment soon here. It is a great demo and worth the effort getting it to run. |
Thanks for testing. Yeah I figured it was just lagging behind changes in voxel_game. I'm hoping to use it as a reference for getting started on my own project, looks like a great demo. |
I have a same issue, whats solution of problem? |
That warning is buggy on generators that use a script, it is plagued with two concurrent issues, one of which I can't fix easily.
So with a script, there is always one of these two warnings. They are not errors, they just... warn you :) Seeing a preview of the terrain in the editor is not well supported if the generator uses a script. There is an option to force it on, but it defaults to off because if Godot reloads the script while it is being used by the generation thread, Godot might crash or run into undefined behavior. However, |
I was able to get blocky_terrain working by adding a VoxelViewer as a child of the CharacterAvatar, but that didn't work with blocky_game. When running the game I do see the GUI and the sky, but no terrain. The number of streaming tasks begins to climb rapidly and never stops, unless I press the space bar in which case it drops back to zero. If it helps, I am able to run test_generator and a small portion of terrain is generated and shown. I'm using the Windows build that was just recommended here: #77 (comment) I plan to explore the demos and voxelgame a bit more in depth soon, so maybe I can locate the specific problem then. I'm new to voxelgame so I don't really have my head wrapped around the different components yet. |
That's because you are falling :p
This one does not use the terrain system, it uses the mesher directly for quick preview. Blocky game works for me so I'm pretty sure I just didnt submit a small fix there. I'll check when I get the time. |
Any solutions, having this error and also when I try to run blocky game it stops and gives me: Parse Error: The identifier "VoxelServer" isn't declared in the current scope. |
@GustavoFenilli which version of the module are you using? (if you have a prebuilt Godot, where did you get it?) About the warning this still stands: #76 (comment) |
Im using the prebuilt binaries from tokisan games, version 3.2.2rc. Maybe it is not the latest module version yet. |
Tokisan builds are still too old I think. |
After bulding my on binaries from 3.2.3 I got it to work, but only the dirt block works, making everything with it, no trees, no water, and its the only block that is placeable, any ideas on why? |
I'll need to check when I get the time |
Hi guys! |
@wildfat the current issue is explained here: #76 (comment)
Usually the expectation would have been that no breaking changes would occur that often, but I don't update the demo often, and versionning the module has been a bit fuzzy lately because every fix and features has been going to master without it being considered a """complete version""", so I wonder if I shouldnt just list "official" versions and only update the demo based on these versions? At least the least effort would be to indicate in the readme which commit version was used (which will have an associated branch and CI builds). |
Node configuration warning:
VoxelTerrain supports only stream channels "Type" or "Sdf", but 'get_used_channels_mask()' tells it's providing none of these.
Terrain does not render in editor or when game is run. (Not sure if this is related, maybe needs separate issue.)
To clarify, I'm running the latest build on Windows 10. The smooth terrain demo works just fine.
The text was updated successfully, but these errors were encountered: