-
Notifications
You must be signed in to change notification settings - Fork 36
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
00:25:buffer_update argument not valid #32
Comments
Thanks, I'll check it out when I have the time (since low-ish priority) |
Godot version: As this message also shows up in my project I did some experimentation and found a minimal reproduction project with just a gardener and a cube: The error messages occurs only when there are more instances of a plant then max chunk capacity is set to. |
fix ThemeAdapter errors to work with Godot 4.2
Fixed by [4d96dc7] The issue was not about having instances above limit, but having empty multimeshes (which were generated when going above limit). Thanks to @qwertzuiopy for providing a reproduction project and @wladi0097 for pointing out the relevant Godot issue (godotengine/godot#68592). Solved by setting Please download from |
Master works fine on my side. Thank you for fixing this! |
The issue above seemed to have returned (or not been gone at all). Noticed it in the demo project, when exporting it for a new version. I do not believe it to be possible to work around this bug save for completely rewriting how we store and load Gardeners from disk. It seems excessive to do so, since the error spam has no functional downsides, it only floods the console and lags the scene opening on the initial opening (because of multiple error messages). It is important to note, that this issue might cause crashes in OpenGL ES Compatibility renderer, so take care. |
What's interesting, is that it doesn't seem to be an issue in editor itself anymore. Guess part of my fix IS working, just not at runtime. Would be grateful if others can confirm this is indeed the case on their side as well. A workaround for this in runtime builds would be to manually scan As a side effect - if you pack your Gardeners in a subscene and instantiate it more than once - LOD changes will synchronize across instances. Visually, it means you will have weird jumps between mesh detalization, all the way to full disappearance (if you use the Kill Threshold). |
Funny I just noticed I started getting this error too, wasn't getting it before but I've been editing my level a bit and it seems to have triggered something. Didn't really touch the gardener either, was just placing down some building meshes. |
Using Godot v4.2.2.stable and Spatial Gardener 1.3.1 from the Godot Asset Store I am not seeing any Errors related to any Buffers in the Editor, when running the Project or in a Linux export (both with or without debug enabled) even though there are empty MultiMeshInstances present. When running the exported project there are a bunch of Errors regarding an UndoRedoManager not being found in "res://addons/dreadpon.spatial_gardener/utility/undo_redo_interface.gd" but nothing else. resource_local_to_scene was set to true for all these meshes. |
Okay, I forgot to mention: this error now seems to trigger for non-empty multi-meshes as well. The UndoRedo thing should be fixed in Master/1.3.2 that I published today. Actually, could be interesting to see whether any of the 1.3.2 changes are actually causing this or not... |
I tested the master branch and am now not seeing any Errors at all. I'm sorry if this is not that helpful... |
This is ONLY in Showcase with the Train. I don't think it affects the actual plugin. LOW importance.
Godot version
v4.1.1.stable.mono.official [bd6af8e0e]
Plugin version
1.3.0 (was included in demo scene project, I didn't even have to add it, although I did follow the text tutorial on GitHub and checked it was there but the checkbox was already checked)
Got it from Git Latest Button: https://github.com/dreadpon/godot_spatial_gardener/releases/tag/v1.3.0
Platform
MacOS, latest 9-24-2023, Ventura 13.4.1 (22F82)
MacBook Pro 14, M1 Max, late 2021, 32GB Memory
Issue description
Only in Showcase Scene
No gameplay seems to be affected.
802 errors (only 2 actual errors but they are repeated continuously):
About ⅔ of them are this one:
E 0:00:25:0844 buffer_update: Buffer argument is not a valid buffer of any type.
<C++ Error> Method/function failed. Returning: ERR_INVALID_PARAMETER
<C++ Source> drivers/vulkan/rendering_device_vulkan.cpp:5858 @ buffer_update()
Second ⅓ errors are this one:
E 0:02:17:0536 dummy.gd:6 @ _ready(): Buffer argument is not a valid buffer of any type.
<C++ Error> Method/function failed. Returning: ERR_INVALID_PARAMETER
<C++ Source> drivers/vulkan/rendering_device_vulkan.cpp:5858 @ buffer_update()
dummy.gd:6 @ _ready()
Upon playing Showcase Scene a second time got this before moving or anything: E 0:00:07:0778 buffer_update: Buffer argument is not a valid buffer of any type.
<C++ Error> Method/function failed. Returning: ERR_INVALID_PARAMETER
<C++ Source> drivers/vulkan/rendering_device_vulkan.cpp:5858 @ buffer_update()
And then "Too many errors! Ignoring for up to 1 second..."
When the train left, they stopped. I waited for train to return.
I rode the train the whole way. Got back off where I started. Ran along track, fell to my infinite falling world lol, never got the second "dummy" error from above...and I never got another error after the initial 401 buffer update ones.
Steps to Reproduce
I walked along track (whole way to end), ran along track, and jumped, then got on train and rode it the whole way. Then Clicked Restart to try getting on the train.
NOTE: All PathFollows in the RailPath->PathFollow show a warning (yellow triangle ! ). Tried to find what this was referring to, but couldn't. See Screenshot.
Minimal reproduction project
I just downloaded the project from latest Git and opened Showcase Scene in project file, no adds or changes to original
The text was updated successfully, but these errors were encountered: