Jump to content

Uncaught Error: Texture Error: frame does not fit inside the base Texture dimensions


neonwarge04
 Share

Recommended Posts

Uncaught Error: Texture Error: frame does not fit inside the base Texture dimensions

For the life of me, I don't understand this, I added a 4 sprites in sprite sheet and now it doesn't load anymore! What's going on here? I quite in predicament and this taking almost all of my time. At least it would be helpful "TO TELL WHAT TEXTURE DID PIXI LOAD". I am stuck. I don't which texture I added failed. 

I tried increasing the size of the texture to 4096. Still the same. Not a single post relevant to this one fixed my problem.

How do I go about here? Where should I start looking?

Thank you!

Link to comment
Share on other sites

Yes thank you. Actually I checked .json file it generated using the shoebox app. Everything fits within. I checked again and again and its fine. Its clean. The problem is that the json file seems to be cached. Which is crazy by the way. I am using require.js and eversince I used this I have to refresh every single src files to update the new file. I don't if require.js is causing it but my problem has been solved by clearing the browser cache altogether and reloading the source files I edited (Which include the .json file). It seems it loads the previous file which now become incompatible. 

Thank you!

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...