Hello, I used quickstart-macos-objc code. I added background_segmentaion.deepar effect in app. I switch to this effect and call changeParameter to set a background image. Everything works perfect, but when I change image for third time, sdk crashes.
Here is how I switch effect:
[self.deepAR switchEffectWithSlot:@“effect” path:[[NSBundle mainBundle] pathForResource:@“background_segmentation.deepar” ofType:@“”]];
After this on click of a button I call this.
[self.deepAR changeParameter:@“Background” component:@“MeshRenderer” parameter:@“s_texColor” image:image];