RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
238 stars 28 forks source link

android build error / Couldn't open include file #1767

Closed goplandev closed 8 months ago

goplandev commented 8 months ago

Problem description:

Shader error in 'AVProVideo/Internal/Preview': Couldn't open include file '../AVProVideo.cginc'. at line 27 Shader error in 'AVProVideo/Internal/Resolve': Couldn't open include file '../AVProVideo.cginc'. at line 52 Shader error in 'AVProVideo/Internal/ResolveOES': Couldn't open include file '../AVProVideo.cginc'. at line 58 Shader error in 'AVProVideo/Internal/Blit': Couldn't open include file '../AVProVideo.cginc'. at line 28 Shader error in 'AVProVideo/Internal/UI/Transparent Packed (stereo) - AndroidOES': Couldn't open include file '../AVProVideo.cginc'. at line 85

Device (which devices are you having the issue with - model, OS version number):

window10 unity 2021.3.15f1 android TatgerAPI 33

Media (tell us about your videos - number of videos, resolution, codec, frame-rate, example URLs):

System Information:

AVPro Video: v2.9.1 (plugin v2.8.5f1-trial) Target Platform: Android Unity: v2021.3.15f1 WindowsEditor OS: Desktop - Swift SF314-510G (Acer) - Windows 10 (10.0.19045) 64bit - Korean CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz - 8 threads - 16179KB GPU: Microsoft Basic Render Driver - Microsoft - Direct3D 11.0 [level 11.1] - 8089KB - 16384

Chris-RH commented 8 months ago

This doesn't sound right. Are you using URP/HDRP? Can you reproduce this in a new project with only AVPro Video demo scenes?

goplandev commented 8 months ago

hi It's not URP. If you create a project, import only the AVPro Video demo, and build it, there will be no errors. For my project, I purchased and used AVPro Video 1.x. AVPro Video 1.x did not work properly after upgrading to Unity 202.3.15f to support Android 13. So, the problem occurred while purchasing and building AVPro Video Version 2.9.1.

2024년 2월 26일 (월) 오후 5:14, Chris-RH @.***>님이 작성:

This doesn't sound right. Are you using URP? Can you reproduce this in a new project with only AVPro Video demo scenes?

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1767#issuecomment-1963542233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZO2RKFR6DJHE2H4PWXO5R3YVQ75TAVCNFSM6AAAAABDZVSGC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGU2DEMRTGM . You are receiving this because you authored the thread.Message ID: @.***>

Chris-RH commented 8 months ago

If the issue doesn't appear in a new project with just AVPro Video, then its probably something else in your project that is causing the issue. There are a few different solutions available on the internet if you try googling the error message.