fix: commit the .meta files three package files shipped without - #15
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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