Skip to content

Plugin Factory Verification Failure in adsk/feature/wasm Branch with Emscripten Build #21

@xiejiashu

Description

@xiejiashu

Description of Issue

Hello,

I encountered an issue while building and running the adsk/feature/wasm branch of the USD project. Here are the details:

  1. Build Command: I used the following command for building:

    python3 ./build_scripts/build_usd.py --emscripten ./build_dir
  2. Build Tool: The build was performed with the emscripten option.

  3. Error Message: When running the project, I encountered the following error while loading certain plugins:

    Coding Error: in _FindAndInstantiateDiscoveryPlugins at line 928 of /mnt/d/USD/pxr/usd/ndr/registry.cpp - Failed verification: 'pluginFactory'
    

Error Screenshots

  • Error Screenshot 1
  • Error Screenshot 2

Environment Information

  • Operating System: Windows 11
  • Build Tool: emscripten
  • Build Command: As mentioned above

Problem Description

During the build and runtime, the system throws an error in the _FindAndInstantiateDiscoveryPlugins function in the registry.cpp file, indicating a failed verification of the plugin factory. This error occurs when loading materials and affects the overall rendering performance.

I would appreciate any guidance or solutions to resolve this issue.

Additional Information

  • All dependencies and build environments have been checked and verified to be correct.
  • The same build method does not produce similar issues in other branches.

Thank you for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions