Unexplained editor error: ERROR: It is impossible to reserve less capacity than is currently available

Godot Version

Godot 4.4.1

Question

Since a few days, I have this error:

  ERROR: It is impossible to reserve less capacity than is currently available.

I don’t know how to fix it, where it comes from. I added a Path2D and a PathFollow2D, I think it might come from it. However, I have deleted those nodes and still have the error.

Any ideas?

(It does not affect the game)

Thanks,

I don’t know the error, but if I were in your situation, I would just try (temporarily) deleting scenes or commenting out code until the error doesn’t appear anymore, to narrow down the source of the problem.

It’s very difficult to really help you directly because we don’t have the project files, so if you don’t find the issue yourself, could you include a test project that the error also appears in? And when does the error actually happen, when the game starts/closes or when you (re)load the project?

I did some searching and it appears a fix is coming in the 4.5 release.

2 Likes

@gentlemanhal thanks for doing this search, so apparently, it could be coming from an animation player.

I will do some digging on that, keep the post in case, and will mark it as solution.

Thanks,

I was able to fix this by deleting empty animations I had on an animation player.

My anim player had 3 animations (spin, float, RESET) and all 3 had no tracks assigned. After deleting them, the error went away.

Hope this helps!

1 Like

Seems like a had this problem because of animations which have property tracks, but with no keys (i.e. empty tracks). So it is similar to what n8tus mentioned

1 Like