>>It works fine, but when I need to change buffer size, I remove it and create new one.<<
For clarification, why do you remove the buffer and create a new one instead of changing the size of the existing buffer?
In the latter case the ID should remain the same and the buffer ID variable wouldn’t need to be touched.
Could you please provide a complete reproducer in failing state?
Please read the post about the OptiX API Capture in this thread: [url]https://devtalk.nvidia.com/default/topic/803116/optix/error-with-rtpmodelupdate/[/url]
Include the following system information to be able to match the setup:
OS version, OS bitness, installed GPU(s), display driver version, OptiX version, CUDA version.