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

Ignore special folder contents #32

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Conversation

Kuniwak
Copy link
Member

@Kuniwak Kuniwak commented Apr 17, 2024

Ignore missing metas for contents of special folders for 2023.3.0b4 and 2022.3.x, 2021.3.x:

From Unity 2023.1.0a24 onwards a behaviour change to how Unity handles loadable plugin directories has been introduced.

Previously, when importing directories of types .androidlib, .bundle, .framework, and .plugin, .meta files would be created for each asset or directory within them. This caused lots of headaches as it resulted in the introduction of unexpected files into those folders, and multiple workarounds have been implemented in order to remove them for final builds and store submissions.

To address this issue, we have modified the Editor code such that the creation of .meta files in loadable plugin directories is prevented.
Additionally, if those directories already have .meta files in them, the .meta files are ignored when making a game build. We decided on that instead of deleting the files in an upgrade step as that would cause unnecessary version control noise when opening the Editor.

https://forum.unity.com/threads/loadable-plugin-directory-import-behaviour-change-androidlib-bundle-framework-and-plugin.1381113/


Contribution License Agreement

@Kuniwak Kuniwak self-assigned this Apr 17, 2024
@Kuniwak Kuniwak marked this pull request as ready for review April 17, 2024 01:55
@keigoi keigoi self-requested a review April 17, 2024 06:21
@keigoi
Copy link

keigoi commented Apr 17, 2024

LGTM

@Kuniwak Kuniwak merged commit 0b6de93 into master Apr 17, 2024
3 checks passed
@Kuniwak Kuniwak deleted the ignore-special-folder-contents branch April 17, 2024 06:26
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