I'm using with this asset in Unity and get crash immediately on iOS.
Here is the xCode log. How can I fix that?
-------- failed compiling:
fragment evaluation shader
WARNING: 0:4: extension 'GL_EXT_frag_depth' is not supported
ERROR: 0:38: Use of undeclared identifier 'gl_FragDepthEXT'
Note: Creation of internal variant of shader 'Hidden/Internal-MotionVectors' failed.
WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Setting to default shader.
UnloadTime: 1.542375 ms
2017-04-24 15:41:31.220499 dataSheet[1500:522084] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-04-24 15:41:31.220575 dataSheet[1500:522084] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-04-24 15:41:33.045379 dataSheet[1500:522084]
I did what you said and it still crash. I need to play youtube video so can VideoPlayer in 5.6 do that?
Can you please try to run the app with address sanitizer enabled? You can enable it from the Edit Scheme panel (Product -> Scheme -> Edit Scheme), switching to the Diagnostics tab and it should be the first option (depending on your Xcode version).
You can also try to use the new Video Player in Unity 5.6 (https://docs.unity3d.com/560/Documentation/Manual/VideoPlayer.html), if updating to 5.6 is an option for you and if it provides the same functionality as the asset you mentioned.