Open UXVirtual opened 3 months ago
This is wield. The shim should access the api object bind on window.comfyAPI
. Can you check if your browser console what does following code eval to?
window.comfyAPI
resolves as follows in the console:
Heya, really like the idea of this node, but still seems it doesn't work, will this be updated to work with newer versions?
Can confirm the issue still exists.
up
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
New Frontend UI
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.