Home Integration Usage API FAQ URP14 # FAQ ### When I called ExportRecording there was no error but still there was no videos on the device after closing the application. Why? All recorded videos are automatically removed when the application is closed to make sure the device does not run out of space. If you want to keep the videos you must copy the files to a new location or share them using the sharing API before application is closed. ### A video was saved fine but the playback rate is weird or stuttering. How to fix it? This is probably caused by incorrect frame rate settings. By default Unity does not set Application.targetFrameRate and it is -1. For correct keyframing you should always set Application.targetFrameRate and also Recorder.TargetFrameRate. ``` Application.targetFrameRate = 60; Recorder.TargetFrameRate = 60; Recorder.FrameSkipping = false; ``` ### I have a game that is running 60 fps but I want to save the video in 30 fps. I have set the Recorder.TargetFrameRate to 30 but I still get 60 fps video. You have probably forgotten to set Recorder.FrameSkipping to true. If Recorder.TargetFrameRate is less than Application.targetFrameRate you should set Recorder.FrameSkipping to true and otherwise to false. ``` Application.targetFrameRate = 60; Recorder.TargetFrameRate = 30; Recorder.FrameSkipping = true; ``` ### I used the highlight recording feature and called ExportRecordingSessionHighlights but did not get any file. To have a valid highlight video you must have set at least one highlight by calling Recorder.SetHighlight. There is also possibility that the recorded video was too short and the full highlight could not be extracted. When the highlight video export fails, you can still call ExportRecordingSession to get the full video instead. ### I tried to upload my app to Apple and got "Missing Purpose String in Info.plist" error. Does Next Gen Recorder require NSCameraUsageDescription? No it does not but the provided webcam example does. Sometimes Unity fails to strip dependencies and for that reason you should try if deleting NextGenRecorder/Examples folder helps. You should also make sure that you are not referencing Unity webcam in your code. You should also make sure that none of your plugins is referencing Unity webcam or native webcam. If you are using the webcam, just fill the Camera Usage Description in player settings. ### My video is vertically flipped. How can I fix it? Sometimes the texture might be upside down depending on the renderer and the state where you capture it. Flip it by setting VerticalFlip to true. ``` Recorder.VerticalFlip = true; ```