autodesk-forks / USD

Universal Scene Description
http://www.openusd.org
Other
128 stars 21 forks source link

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

Open xiejiashu opened 5 days ago

xiejiashu commented 5 days ago

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](sandbox:/mnt/data/image.png)
    - ![Error Screenshot 2](sandbox:/mnt/data/image.png)

Environment Information

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

Thank you for your assistance.

xiejiashu commented 5 days ago

Error Screenshots image1

image2