Skip to content

[fix]コンパイルエラーの修正 - #2777

Merged
ousttrue merged 3 commits into
vrm-c:masterfrom
ousttrue:fix_awaitable
Mar 19, 2026
Merged

ousttrue merged 3 commits into
vrm-c:masterfrom
ousttrue:fix_awaitable

Conversation

@ousttrue

@ousttrue ousttrue commented Feb 26, 2026 •

Copy link
Copy Markdown
Contributor

#2764 の手直し。
外部依存の Awaitable が無いため。
外部依存の無い形に書き直し。

UniGLTF にあった AwaitCaller の UniGLTF.Utils への移動が含まれます。

@ousttrue ousttrue added bug Something isn't working Non breaking changes labels Feb 26, 2026
@ousttrue ousttrue added this to the v0.132.0 milestone Feb 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 with Task-based async APIs in the avatar rebuild / bone normalization flow.
  • Add internal await-caller infrastructure (IAwaitCaller, schedulers, runtime callers) under Packages/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

  • ArgumentNullException is thrown with parameter name "src", but the parameter is animator. Using nameof(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
s-iwaki-d self-requested a review March 19, 2026 07:31

@s-iwaki-d s-iwaki-d left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ousttrue
ousttrue merged commit 52d868c into vrm-c:master Mar 19, 2026
5 checks passed
@ousttrue
ousttrue deleted the fix_awaitable branch March 19, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Non breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants