CS0433 error

Hi! I would to integrate LeapMotion (handtracking) and Delsys Trigno (EMG signal) both in Unity. The two integrations, separately, work well. Integrating them into the same game appears this error, more precisely “Library\PackageCache\com.unity.visualscripting@1.7.8\Editor\VisualScripting.Core\Platforms\AotStubWriter.cs(18,37): error CS0433: The type ‘CodeStatement’ exists in both ‘System.CodeDom, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ and ‘System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ Library\PackageCache\com.unity.visualscripting@1.7.8\Editor\VisualScripting.Core\Platforms\AotPreBuilder.cs(31,37): error CS0433: The type ‘CodeStatement’ exists in both ‘System.CodeDom, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ and ‘System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’”.
How you can read, it’s like the library enter in conflict with the two systems (maybe it has to do with 2 different versions 4.0.0.0 and 5.0.0.0) but I don’t know how I can fix. Any suggestion?

Hi! I also encountered this error, and recently fixed it by changing my Unity version to 2022.3.7f1. I believe that there is an issue with specific Unity versions like the one you and I used before that causes this error.