neonwarge04 Posted November 26, 2015 Share Posted November 26, 2015 Uncaught Error: Texture Error: frame does not fit inside the base Texture dimensionsFor 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! Quote Link to comment Share on other sites More sharing options...
bubamara Posted November 26, 2015 Share Posted November 26, 2015 hard to help without seeing actual code or an live example, but is this happening in canvas renderer only ? Quote Link to comment Share on other sites More sharing options...
xerver Posted November 26, 2015 Share Posted November 26, 2015 This error happens when you try to create a texture with a frame that is outside the dimensions of the image for which it represents. Without more code/context nothing else I can say. Quote Link to comment Share on other sites More sharing options...
neonwarge04 Posted November 28, 2015 Author Share Posted November 28, 2015 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.