Failed save video to album on IOS14 beta

Our game use RPScreenRecorder to record video.

When try to save the video to album, failed.

The code used to save video like this, same code works fine on other ios device except ios14.
Code Block
NSString* videoPath = [delegate.mRPPreviewViewController.movieURL path];
if (UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(videoPath))
{
UISaveVideoAtPathToSavedPhotosAlbum(videoPath, nil, nil, nil);
}
else
{
return false;
}


Error message in xcode:

fsbxpcobtainSandboxRegistrationForPath signalled err=-17509 (kFigSandboxErrorNoReadAccessOfParentDirectory) (No read access to parent directory) at /Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMediaFramework/EmbeddedCoreMedia-2747.2.1.1/Prototypes/Player/ClientServer/FigSandboxSupport.c:425

fsbxpcobtainSandboxRegistrationForPath signalled err=-17508 (kFigSandboxErrorURLDoesNotExist) (Could not obtain realpath for specified URL) at /Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMediaFramework/EmbeddedCoreMedia-2747.2.1.1/Prototypes/Player/ClientServer/FigSandboxSupport.c:442



Is this a bug with ios14?

How can I fix this problem?
Failed save video to album on IOS14 beta
 
 
Q