SpriteKit / Metal memory leak error, nothing happens

I have a memory leak that I cannot trace. The tools see this and report it as jet_buffer_Metal, but I don’t know what exactly points to me.

enter image description here

This happens regularly. I tried everything. Removing all my nodes, removing physical bodies, but he still seems to be there. I have nothing in the "Update" or any other game cycle methods. I can publish all this code, but in fact I only add two nodes that can only move with a touch. I do not touch the screen, and a memory leak still exists.

One of my nodes has a PhysicalBody for circleOfRadius, and I heard that there were some leaks with these types before, but again, the leak still exists if I remove the node with this physical block.

Finally, I get this in my debug window: <SKMetalLayer: 0x14ce28da0>: calling -display has no effect.

I have a suspicion that it is connected, but cannot find where it came from.

I am using an SKS file which is currently empty. Now nodes are added to the code.

+4
source share

All Articles