Sign in to follow this  
Bladetrick

Calling the Inspector: JavaScript runtime error: InvalidStateError

Recommended Posts

Hello again,

I downloaded the debug layer Inspector and started using it in a project.  Here's what happens:

1.  I load up a model and move the camera around it.  (no problem)

2.  Open the inspector and use it (no problem)

3. Move the camera again and get  (edit: found out the error doesn't occur when mouse zooming in and out... only when mouse rotating)

Unhandled exception at line 15475, column 147 in http://xxx/babylon.js

0x800a139e - JavaScript runtime error: InvalidStateError

This behavior only occurs when then inspector has been opened and continues even after the inspector has been closed.  Also, once closed, the inspector will not come back up again when calling it.  Only a refresh of the page resets things right.  Anyone have any problems with this before?

Edit again: oh and I just ran into

Unhandled exception at line 1, column 104738 in http://xxx/Inspector.js

0x800a138f - JavaScript runtime error: Unable to get property 'dispose' of undefined or null reference

when trying to close the inspector with its X button

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.