pyglet: AttributeError: 'Batch' object has no attribute 'add'

I assume I do sth wrong, but I don’t really know what. This is from an old project of mine, and it used arcade and pyglet, and now I was just trying it out, and I got AttributeError: 'Batch' object has no attribute 'add' while trying to call batch.add, where batch is a class of instance Batch.

I have pyglet 2.0.dev23 installed.

When looking at the code of Batch, I also don’t see any such method add. Although the documentation says there should be such a method.

When searching for this error, I did not find anything.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (3 by maintainers)

Most upvoted comments

linux or windows?

Mac.