From 114bea608b5716413f56f6d77d9db59574d1cd94 Mon Sep 17 00:00:00 2001 From: Tayou Date: Mon, 2 Jun 2025 02:18:31 +0200 Subject: [PATCH] Include LICENSE.meta for installing through git url (#55): - When installing AAC through git url in the Unity package manager (as opposed .unitypackage and ALCOM), the LICENSE file contained within the Packages/ folder would cause errors because files cannot be written there. - This commit adds the meta file for that LICENSE file, and removes it and other meta files from the exclusion list. - Original PR comments: * include LICENSE.meta generally all meta files should be included. For immutable packages like package registries (e.g. OpenUPM) this is required, as unity can't write a new meta file into the immutable directory. Therefore any files without a meta file will break. Luckily this is just the LICENSE file, no code. but unity still complains * also include README.md.meta there is no readme in the package directory. But if there was, its meta file should definitely not be excluded either. --- Packages/dev.hai-vr.animator-as-code.v1/.gitignore | 2 -- .../dev.hai-vr.animator-as-code.v1/V1/Editor/LICENSE.meta | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/LICENSE.meta diff --git a/Packages/dev.hai-vr.animator-as-code.v1/.gitignore b/Packages/dev.hai-vr.animator-as-code.v1/.gitignore index c261ebb..1e287e8 100644 --- a/Packages/dev.hai-vr.animator-as-code.v1/.gitignore +++ b/Packages/dev.hai-vr.animator-as-code.v1/.gitignore @@ -30,5 +30,3 @@ Assembly-CSharp-Editor.csproj cfe-project.sln.DotSettings.user VRC.SDKBase.Editor.BuildPipeline.csproj VRC.SDKBase.Editor.ShaderStripping.csproj -LICENSE.meta -README.md.meta diff --git a/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/LICENSE.meta b/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/LICENSE.meta new file mode 100644 index 0000000..74661e7 --- /dev/null +++ b/Packages/dev.hai-vr.animator-as-code.v1/V1/Editor/LICENSE.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c04d39cdc2e2392a5b51bfa466760178 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: