Jump to content

this.textures[0].dispose Error.


Borislav
 Share

Recommended Posts

 

 

http://cityworld.16mb.com/levels/1/play/preview.html

https://www.babylonjs-playground.com/#91WE35

 

Playground works until one moment and this error is given out.

 

The preview.html on my website doesn't even work!

 

Why?

Line 11:406 - this.textures[0].dispose is not a function

 

 

Line 11:406 - this.textures[0].dispose is not a functio

 

 

Link to comment
Share on other sites

1 minute ago, Deltakosh said:

Can you create a simpler PG? with just the error :)

It doesn't show the error line correctly.

It is just a disaster glitching extreme.

Also the error shows up sometimes and sometimes not.

I am asking because  on the main website is blank.

But, it still zips itself.

 

 

 

 

 

Link to comment
Share on other sites

5 minutes ago, Deltakosh said:

Can you share your simplified PG?

I didn't simplify it though, I just rewrote the updates I did to the original one.

And the original one is this:

https://www.babylonjs-playground.com/#29UHJQ

 

 

Also, I think the problem is in the following statement:

create(scene);

or with fixed skybox:

https://www.babylonjs-playground.com/#29UHJQ#1

Link to comment
Share on other sites

2 hours ago, Borislav said:

I didn't simplify it though, I just rewrote the updates I did to the original one.

And the original one is this:

https://www.babylonjs-playground.com/#29UHJQ

 

 

Also, I think the problem is in the following statement:


create(scene);

or with fixed skybox:

https://www.babylonjs-playground.com/#29UHJQ#1

I think I should re-do the UI completely.

 

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...