I build for iOS by Unity and Run on my iPhone test device. When I start to record the app screen, my app crash.
xCode throws this errors out:
Uncaught exception: NSInvalidArgumentException: *** -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:] invalid parameter not satisfying: pixelBuffer != NULL
(
0 CoreFoundation 0x00000001837dada4 <redacted> + 252
1 libobjc.A.dylib 0x00000001829945ec objc_exception_throw + 56
2 AVFoundation 0x0000000189289ba0 <redacted> + 0
3 [APP_NAME] 0x0000000104640a28 ezarARSceneTracker_stop + 1991532
4 libdispatch.dylib 0x00000001830cca60 <redacted> + 16
5 libdispatch.dylib 0x00000001830d69b4 <redacted> + 608
6 libdispatch.dylib 0x00000001830d72fc <redacted> + 336
7 libdispatch.dylib 0x00000001830d7cc8 <redacted> + 340
8 libdispatch.dylib 0x00000001830e0098 <redacted> + 668
9 libsystem_pthread.dylib 0x00000001833ffe70 _pthread_wqthread + 860
10 libsystem_pthread.dylib 0x00000001833ffb08 start_wqthread + 4
)