Repository navigation
[fix]コンパイルエラーの修正 - #2777
Merged
Merged
[fix]コンパイルエラーの修正#2777
Conversation
…itable with no external dependencies.
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes compile errors introduced in #2764 by removing the external Awaitable dependency and replacing it with Task + an internal IAwaitCaller abstraction (migrated from UniGLTF into UniGLTF runtime utilities).
Changes:
- Replace
Awaitable-based APIs withTask-based async APIs in the avatar rebuild / bone normalization flow. - Add internal await-caller infrastructure (
IAwaitCaller, schedulers, runtime callers) underPackages/UniGLTF/Runtime/Utils/AwaitCaller/. - Update VRM/VRM10 test assembly references to reflect the dependency change.
Reviewed changes
Copilot reviewed 4 out of 17 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| Packages/VRM10/Tests/VRM10.Tests.asmdef | Updates test assembly references after removing the external Awaitable dependency. |
| Packages/VRM/Tests/VRM.Tests.asmdef | Updates test assembly references after removing the external Awaitable dependency. |
| Packages/VRM/Runtime/SkinnedMeshUtility/VRMBoneNormalizer.cs | Converts normalization entry points to Task-based async and routes avatar rebuild through IAwaitCaller. |
| Packages/UniGLTF/Runtime/Utils/AwaitCaller/* | Adds IAwaitCaller + runtime scheduling implementations to support async workflows without external dependencies. |
| Packages/UniGLTF/Runtime/UniHumanoid/HumanoidLoader.cs | Converts humanoid avatar rebuild to Task-based async and introduces RebuildHumanAvatarAsync. |
Comments suppressed due to low confidence (1)
Packages/UniGLTF/Runtime/UniHumanoid/HumanoidLoader.cs:73
ArgumentNullExceptionis thrown with parameter name "src", but the parameter isanimator. Usingnameof(animator)(or at least "animator") will produce a correct message and improves debugging.
if (animator == null)
{
throw new ArgumentNullException("src");
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
s-iwaki-d
self-requested a review
March 19, 2026 07:31
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.
#2764 の手直し。
外部依存の
Awaitableが無いため。外部依存の無い形に書き直し。
UniGLTF にあった AwaitCaller の UniGLTF.Utils への移動が含まれます。