Nevermind - Fixed

Hi

I am trying to open the inspector in a local project using scene.debugLayer.show() but it’s not loading. In the console I get 404 errors in Firefox and Edge

I am using the latest Babylon link and it seems to be trying to fetch https://unpkg.com/babylonjs-inspector@5.0.0-alpha.0/babylon.inspector.bundle.js

Am I doing something wrong or has there been some change to how I should load the inspector?

P.S. I think it might be helpful to add a line in the docs pages for the inspector which explains how to load it in code. Am sure it used to say that, but the new docs don’t mention it as far as I can see, they just discuss the features and link to some videos about it.

It has fixed itself! Maybe I was trying to load it just when it was being changed or something. I dunno, but it’s working again so ignore this.

1 Like

Actually I just published the npm packages so this should be the reason

2 Likes