Godot Version
v4.3.stable.official
Question
This error is filling up my console:
E 0:00:43:0175 store_buffer: Condition “fwrite(p_src, 1, p_length, f) != (size_t)p_length” is true.
<C++ Source> drivers/windows/file_access_windows.cpp:528 @ store_buffer()
I’m not code literate enough to know what its talking about, Google doesn’t come up with anything, any help pointing me in the right direction would be much appreciated!
It means (I think) that the number of bytes written to a file does not match the expected number of bytes. (It is saying fwrite is not equal to p_length)
Usually fwrite errors are when a file is not actually opened before you try to write to it (open skipped or not attempted, or failing to check for ‘file not found’)
I guess, since your store_buffer is writing it again and again, I am guessing you are calling a write function recursively by mistake on a file that cannot be found.
That is my best guess anyway. Hope that helps.
Thanks for the response! I actually found out yesterday that Godot was generating log files in the ballpark of hundreds of gigabytes somehow… not sure how that mess started.
when I deleted the logs, the store_buffer error stopped, and coincidentally my scenes stopped taking 5 minutes to run
1 Like