Skip to content

fix: commit the .meta files three package files shipped without - #15

Merged
penspanic merged 2 commits into
mainfrom
fix/missing-package-metas
Sep 23, 2026
Merged

penspanic merged 2 commits into
mainfrom
fix/missing-package-metas

Conversation

@penspanic

@penspanic penspanic commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

Unity 가 git URL 로 설치한 패키지는 읽기 전용이라, 거기서 Datra 를 쓰면 두 가지가 깨졌습니다.

  • .meta 없이 커밋된 파일 세 개(ColorAttribute.cs, IFormatAwareRawDataProvider.cs, build/Datra.targets)를 Unity 가 무시합니다. 앞의 두 .meta 는 로컬 Unity 가 이미 만들어 둔 것을 그대로 커밋했고, targets 는 DefaultImporter 로 새로 만들었습니다.
  • Datra.Unity.Editor 의 BuiltInAssetHandlers 가 UnityEngine.UI 를 쓰는데 com.unity.ugui 의존성이 선언돼 있지 않아, uGUI 가 없는 프로젝트에서 컴파일 오류(CS0234)가 납니다. 1.0.0 으로 선언해 Unity 6 은 내장 2.0.0 을, 이전 에디터는 각자의 버전을 쓰게 했습니다.

확인: tesselworks/breakline(Unity 6000.7.0a5) 에서 이 브랜치 커밋 e85b9b3 을 git URL 로 고정해 임포트, 컴파일 오류 없음, EditMode 4/4 통과(YAML 중첩 리스트 왕복 포함).

🤖 Generated with Claude Code

penspanic and others added 2 commits September 23, 2026 11:57
A Unity project that installs Datra from its git URL gets an immutable
package, and Unity ignores any asset in one that has no .meta file. The
attribute and the provider interface were therefore missing from such a
project, and anything referring to them failed to compile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BuiltInAssetHandlers uses UnityEngine.UI, which comes from com.unity.ugui.
A project without that package failed to compile Datra.Unity.Editor.
Declaring 1.0.0 lets Unity 6 resolve its built-in 2.0.0 and older
editors their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@penspanic
penspanic merged commit 52b182f into main Sep 23, 2026
1 check passed
@penspanic
penspanic deleted the fix/missing-package-metas branch September 23, 2026 03:04
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