BabylonJS / Spector.js

Explore and Troubleshoot your WebGL scenes with ease.

Home Page:http://spector.babylonjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension not working on my site

dyn-do opened this issue · comments

I made the following site with Three.js.
However, even if I run this with Chrome extension, result.html is not displayed.
What am I missing?
https://vrm-test-stmy.vercel.app/

The Extension worked in the Three.js demo below.
https://threejs.org/examples/webgl_animation_skinning_additive_blending.html

I am seeing some exceptions in the console and my guess is that they prevent the capture to work, also your app looks like it load with error 500 and such quite often. Do you have a stable repro without exceptions ?

Your app is clearing the page body somehow so everything related to spector is gone :-) you should prevent your app to clear document.body

@sebavan
Thank you for confirming.
I'm using Sveltekit to build the page, so the DOM is all built dynamically in JS.
It's a bit of a pain to stop using Sveltekit, but I'll give it a try without dynamic generation.

@dyn-do
I got it to work by using Javascript modules instead of Chrome extensions.

It does work for me if I click on "Transient" then on "Reload":

image