[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNITY_INCLUDE_TESTS causes harmony to not be included #620

Open
geangs opened this issue Aug 16, 2024 · 0 comments
Open

UNITY_INCLUDE_TESTS causes harmony to not be included #620

geangs opened this issue Aug 16, 2024 · 0 comments
Assignees

Comments

@geangs
Copy link
geangs commented Aug 16, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants