(Solved) Increasing Max Resources doesn't seem to?

Hi all,

I’ve got the “Could not create script component, out of resources.” error appearing in my project. I’ve tried increasing the MaxResources value but it still throws the error, regardless of what value I enter into MaxResources.

Increasing the value by 128 should have been more than enough but nothing seems to work. I’ve tried 2048, 4096, 99999999, and I can’t make it happy.

This is with Defold v1.6.3

Any suggestions or is there a bug here?
Thanks!

I think it is collection.max_instances you want to change

1 Like

I think I had already increased that along with the max sprites. I’ll double check it once back at my desk.

You were correct - I had increased max collectionfactory but not max collection. Thanks!

I think it would be useful if the error message gave more information. For instance, if max sprite is too low, you get a very specific error:
Sprite could not be created since the buffer is full (128). Increase the 'sprite.max_count' value in [game.project](defold://open?path=/game.project)

The collection error isn’t very specific and I incorrectly assumed would need to increase max resources after googling for this specific error:
ERROR:GAMEOBJECT: Could not create script component, out of resources.

2 Likes

I agree. Could you please create an issue on GitHub?

1 Like

Done! Thanks very much =)

2 Likes