Hi Caroline and Ray Wenderlich team,
I was wondering if you might be able to assist with an error I have been encountering.
A few months back we spoke on the forum regarding object selection. There was the raycast method, and then the colouID pass method.
I have been implementing the colourID pass method, and have gotten stuck at the blit command encoder. I have constructed two textures (one for the beauty pass, one for the colourID pass) and then blit copy the texture onto the command buffer, but it seems that every second frame seems to be garbage. It even happens when the scene is only using the clear colour with no data to render.
If I GPU debug the frame, it looks correct. The only error message that does appear is one log mentioning GPU Soft Fault count: 1
I implemented, a semaphore trying to see if it might be a memory resource error.
Thanks for taking a look,