Recorder (Pro) feature does not work on Unity iOS !

0 votes
asked Sep 17, 2018 by krissada (120 points)
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

)

1 Answer

0 votes
answered Sep 18, 2018 by albert52 (31,850 points)
1. Will the official sample crash in the same operating environment?

2. Unity and Xcode versions?

3. iOS version?
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...