EnoxSoftware / OpenCVForUnity

OpenCV for Unity (Untiy Asset Plugin)
https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088
558 stars 175 forks source link

DNN module in UWP works in Free Trial version but not in Paid version #92

Open raulsf6 opened 3 years ago

raulsf6 commented 3 years ago

I need to use the DNN module in an UWP project, In the free trial it works perfectly and I managed to run the example Yolo project without any problem (I just had to change the #if !UNITY_WSA_10_0 line to #if UNITY_WSA_10_0). However, when I ported the project to the paid version, It seems that the DNN module does not exist and I can't compile the project. I read in the support that the DNN module is not supported in UWL, however, how can it work in the free trial version?

EnoxSoftware commented 3 years ago

This is the correct execution result. On UnityEditor, OpenCVForUnity is run using the dll library for Windows platforms. However, if you build for a UWP platform, the dll library for the UWP platform will be used. The dll library for the UWP platform does not support the DNN module, which will cause a build error.