Skip to content

fix ability to build Unity projects#32

Merged
Yecats merged 1 commit into
Yecats:mainfrom
jmarsh411:build-fix
Sep 13, 2022
Merged

fix ability to build Unity projects#32
Yecats merged 1 commit into
Yecats:mainfrom
jmarsh411:build-fix

Conversation

@jmarsh411

Copy link
Copy Markdown
Contributor
  • This was caused by the use of Assembly Definitions. Despite the Editor
    scripts being in the Editor folder, if Assembly Definitions are
    present, it will override the default behavior and include the
    assembly on all platforms, including non-editor platforms (builds)
  • more info can be found at the following links:

https://docs.unity3d.com/2022.1/Documentation/Manual/ScriptCompilationAssemblyDefinitionFiles.html
https://answers.unity.com/questions/1571571/how-do-i-get-unity-to-not-include-editor-folder-in.html#
https://stackoverflow.com/a/64463571

accessed 8/31/2022

- This was caused by the use of Assembly Definitions. Despite the Editor
  scripts being in the Editor folder, if Assembly Definitions are
  present, it will override the default behavior and include the
  assembly on all platforms, including non-editor platforms (builds)
- more info can be found at the following links:

https://docs.unity3d.com/2022.1/Documentation/Manual/ScriptCompilationAssemblyDefinitionFiles.html
https://answers.unity.com/questions/1571571/how-do-i-get-unity-to-not-include-editor-folder-in.html#
https://stackoverflow.com/a/64463571

accessed 8/31/2022
@Yecats Yecats merged commit 7ae583e into Yecats:main Sep 13, 2022
@Yecats

Yecats commented Sep 13, 2022

Copy link
Copy Markdown
Owner

Thank you!

@jmarsh411

Copy link
Copy Markdown
Contributor Author

Thank you for making this fantastic tool!

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.

2 participants