Closed chengnay closed 3 months ago
Hi, I presume you're not actually using AVPro Video version 2.0 as that is January 2021, and are in fact using a more up to date version? More info on the dexing issue is here.
Hi @Chris-RH, It is true that the project is still using AVPro Video version 2.0 as we did not update the plugin since March 2021. We will check out the latest version, thanks!
Yes, please update to the latest version. There have been a lot of fixes and upgrades since then!
Hi @Chris-RH, It looks like newer version, Ultra Edition 2.9.3 will also build fail. It is required to set "android.enableDexingArtifactTransform=false" for using Unity 2020/2021. Is there any alternative or suggestion?
Can you reproduce this in a fresh project using only AVPro Video? What is the full error message?
Hi @Chris-RH, As for only AVPro Video without Wave Plugin, it will build success. After import 5.6.0-r.10.1, I will get below build error, log.txt
So the problem is that it isn't an AVPro specific issue. I suggest you google the error message and follow suggestions.
After some investigation, when I tried to set android.enableDexingArtifactTransform=true, it will build pass. But, I think this is not allowed, am I right?
By the way, does AVPro Video recommend which gradle version to use? Or just Unity built-in version will be enough?
if it works without it, then that's fine
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Describe the issue Recently, I updated my Unity project to Wave Plugin 5.6.0-r.10 and it will build fail. After some investigation and I found out that it is due to android.enableDexingArtifactTransform=false in AVProVideo\Editor\Scripts\PostProcessBuild_Android.cs script. I am wondering is this necessary to set it to false? What will happen if I manually change it to true? I did try setting it to true and it will build successfully.
Your Setup (please complete the following information):
To Reproduce
Logs If applicable, add error logs to help explain your problem. java.lang.UnsupportedOperationException: This feature requires ASM7
Execution failed for task ':launcher:dexBuilderRelease'.
Screenshots If applicable, add screenshots to help explain your problem.
Videos If applicable, add a copy of your video or the URL
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us unitysupport@renderheads.com