I had the same problem and solved it simply by removing the constant Trace and unticking the "Optimize code" box in the Build section of the UWP project for all platforms (X64, X86, ARM) in the "Release" configuration. The problem likely was that these options were not identical for the 3 platforms