Skip to content

Node doesn't load in latest ComfyUI frontend #6

@UXVirtual

Description

@UXVirtual

On August 15th, ComfyUI transitioned to a new frontend UI framework which has caused breaking changes to the TextureViewer node. This prevents the Three.js scene from loading correctly and it remains stuck on the "Loading scene" preloader title.

When comparing the new ComfyUI frontend UI and the legacy one we can see the following:

Legacy Frontend UI

Screenshot 2024-08-24 211439

New Frontend UI

Screenshot 2024-08-24 211649

If users have updated to the latest ComfyUI a Uncaught TypeError: Cannot read properties of undefined (reading 'api') at api.js:2:36 is thrown in the JavaScript console. Looking at this it seems to reference a shim which is no longer valid.

To workaround this issue in the meantime, starting ComfyUI with the --front-end-version Comfy-Org/ComfyUI_legacy_frontend@latest as described in this issue allows the TextureViewer node to work.

Tested this issue and the workaround using the mtb nodes workflow linked in the project README.

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