Skip to content

Add conditional compilation for VisualScripting support. #19

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

Open
wants to merge 1 commit into
base: Houdini19.0
Choose a base branch
from

Conversation

tlaedre
Copy link

@tlaedre tlaedre commented Apr 12, 2022

HEU support for Unity visual scripting assumes visual scripting support is always available in Unity versions >= 2021.1, however this is not the case. Although it is added by default to new projects it's also the first thing to be removed to avoid bloat in projects that don't actually need or want to use visual scripting. It will also not be present in projects upgraded from previous Unity versions unless explicitly added.

This change makes compilation of the visual scripting assemblies conditional on the presence of the visual scripting package in the project.

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

Successfully merging this pull request may close these issues.

1 participant