Harmony
Harmony copied to clipboard
UNITY_INCLUDE_TESTS causes harmony to not be included
trafficstars
When I add
"defineConstraints": [ "UNITY_INCLUDE_TESTS" ],
on a unity playmode test assembly, harmony is no longer included. This is annoying because when this is removed unity tries to include unit tests in the build, which will then fail to compile. As a workwround I can go back and add #if UNITY_EDITOR to all my tests but I also want to understand why this happens to avoid future problems
- OS: Windows 10, 64bit
- .NET 4.8
- Harmony version 2.3.3