Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xiejiashu opened this issue Jul 3, 2024 · 1 comment

Comments

@xiejiashu
Copy link

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.

@xiejiashu
Copy link
Author

Error Screenshots
image1

image2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant