Yeah, only because my code that copies the file to the persistent data folder, then reads from it, was working fine until I updated the library with the 4.5.2 version. That error message is from Unity, but it’s reading a return value from this method in cpp:
extern "C" int Init(int& outCameraWidth, int& outCameraHeight, String cascadeFileName)
{
if (!_faceCascade.load(cascadeFileName))
return -1;
_capture.open(0);
if (!_capture.isOpened())
return -2;
outCameraWidth = _capture.get(CAP_PROP_FRAME_WIDTH);
outCameraHeight = _capture.get(CAP_PROP_FRAME_HEIGHT);
return 0;
}