Skip to content

CS1061: 'AvatarDescription' does not contain a definition for 'CreateAvatar' #3

@DarkVader135

Description

@DarkVader135

Describe the bug
On a fresh Warudo SDK project using Unity 2021.3.45f2, importing Denormalized Avatar Exporter
1.1.0 (.unitypackage) causes Unity to enter Safe Mode on every project load due to a
compilation error.

Error message
Packages\dev.hai-vr.denormalized-avatar-exporter\Scripts\Editor\DenormalizedAvatarExporterCore.cs(177,49):
error CS1061: 'AvatarDescription' does not contain a definition for 'CreateAvatar' and no
accessible extension method 'CreateAvatar' accepting a first argument of type
'AvatarDescription' could be found (are you missing a using directive or an assembly reference?)

Steps to reproduce

  1. Set up a Warudo SDK project using Unity 2021.3.45f2 (Method A)
  2. Import Denormalized Avatar Exporter 1.1.0 via .unitypackage
  3. Unity enters Safe Mode immediately on start up

Workaround
Manually editing line 177 of DenormalizedAvatarExporterCore.cs and replacing:
.CreateAvatar(
with:
.CreateAvatarAndSetup(
resolves the error. This suggests the UniVRM version bundled with or expected by the
Warudo SDK has renamed this method.

Environment

  • Denormalized Avatar Exporter version: 1.1.0
  • Unity version: 2021.3.45f2
  • Target app: Warudo
  • OS: Windows
  • Install method: .unitypackage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions