If I open the code of a created item and I save it again it works…
Is a bug or am I doing something wrong?
I’m under windows7 64 bit and I’m using Max6 64bit. But the error persists also with the 32bit version.
The problem is that you’re calling your _init method in the global code. And there’s no guarantee that the patcher is ready when the global code is parsed. So you need to defer the creation and connection of the object when the patcher is ready: at loadbang (or using a clock to defer this to later).