ARVideoKit
ARVideoKit copied to clipboard
App can't run on iOS 12 when i add SCNParticleSystem to scnnode
validateFunctionArguments:3469: failed assertion `Vertex Function(uberparticle_vert): missing buffer binding at index 19 for vertexBuffer.1[0].'
@miliPolo, can you please elaborate on when exactly the crash is occurring.
-Ahmed
when I added the SCNParticleSystem to the SCNNode, The app was crashed. I added the below code in viewDidLoad():
let sceneFilterNode = SCNNode()
let particleSystem = SCNParticleSystem(named: filterName, inDirectory: nil)
sceneFilterNode.addParticleSystem(particleSystem!)
self.sceneView.scene.rootNode.addChildNode(sceneFilterNode)`
the err info:validateFunctionArguments:3469: failed assertion `Vertex Function(uberparticle_vert): missing buffer binding at index 19 for vertexBuffer.1[0].'
@miliPolo, have you tried disabling ARVideoKit to check whether the framework is the source of the crash or not?
Hi, i added this code in your demo project ARVideoKit-Example.
The code seems to crash hereοΌ var buffer: CVPixelBuffer? pixelsQueue.sync { renderedFrame = renderEngine.snapshot(atTime: self.time, with: size, antialiasingMode: .none) }
Hey ! It's happening the same to me :( I can't find a way to make it work.. Any ideas ?
i have the same issue
I also have the same issue Anybody found any solution?
I'm also having the exact same issue. I can capture video or photo of the AR scene just fine but when there is a particle system in the scene it crashes on both video or photo capture attempts.
The error code I get: validateFunctionArguments:3469: failed assertion `Vertex Function(uberparticle_vert): missing buffer binding at index 19 for vertexBuffer.1[0].'
@AFathi The crash stack is lower level language so I'm not sure it would be super helpful. I think trying to recreate it by adding a particle system to a node in the scene as @miliPolo suggested will be more useful.
Please let me know how I can help debug it!
I have the same crash on iOS 12. Is there any solution?