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

Contents of the ZIP file #3

Open
BastiaanOlij opened this issue Sep 19, 2022 · 1 comment
Open

Contents of the ZIP file #3

BastiaanOlij opened this issue Sep 19, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@BastiaanOlij
Copy link
Member

BastiaanOlij commented Sep 19, 2022

So there is an important difference between the zip file created for a PR as an artifact and the zip file created as part of a release.

The zip file on the artifact will contain the following entries:

  • android/plugins/GodotOpenXRLoaders_CHANGES.md
  • android/plugins/godotopenxrmeta.gdap
  • android/plugins/godotopenxrmeta/license.txt
  • android/plugins/godotopenxrmeta/godotopenxrmeta-release.aar
  • android/plugins/godotopenxrmeta/godotopenxrmeta-debug.aar

This is what you would expect to see.

The zip file on the release however will contain the following entries:

  • asset/android/plugins/GodotOpenXRLoaders_CHANGES.md
  • asset/android/plugins/godotopenxrmeta.gdap
  • asset/android/plugins/godotopenxrmeta/license.txt
  • asset/android/plugins/godotopenxrmeta/godotopenxrmeta-release.aar
  • asset/android/plugins/godotopenxrmeta/godotopenxrmeta-debug.aar

A root folder is required by the Godot Asset Library, the contents of this root folder will be extracted into the Godot project resulting in the correct file structure.

@BastiaanOlij BastiaanOlij added the documentation Improvements or additions to documentation label Sep 19, 2022
@BastiaanOlij BastiaanOlij pinned this issue Sep 19, 2022
@haplionheart
Copy link

Note that if you're importing the plugin using the Release version of the zip, you need to make sure the "Ignore asset root" box is checked on the import screen. Otherwise the "asset" folder gets included and the import fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants