Comments (9)
I've seen this problem and it was caused by the browser using another image of the same file name rather than loading the actual image. If you rename the file or clear your cache do you continue to get the same problem?
from pixijs.
No, this does not solve the problem.
The image on top is what shows in all of the other browsers, the sparse triangles show in Safari.
from pixijs.
The line that you commented out:
throw new Error("Texture Error: frame does not fit inside the base Texture dimensions " + this);
Is there to catch the issue you are experiencing. More info can be found in this closed issue #11
How are you generating your JSON file?
from pixijs.
I am using Texture Packer and exporting as JSON. The frames are built from 83 png files, all the same size, exported from a test movie in Flash.
from pixijs.
Cool, do you mind sharing the JSON file? or do you have a link to the above? cheers!
from pixijs.
Sent via email...
from pixijs.
I just had this issue and it was because I increased the size of my atlas, but my browser was still caching the old one, and the JSON had larger dimensions. Force refresh fixed it.
from pixijs.
Seems to be a caching issue, closing for now. Feel free to reopen if this issue still plagues anyone.
from pixijs.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from pixijs.
Related Issues (20)
- Bug: Cannot set array<> type with UniformGroup
- Bug: Crashing on SVG when use `new Graphics().svg()` HOT 1
- Bug: TypeError: Cannot read properties of undefined (reading 'toString') HOT 2
- Bug: TypeError: Cannot read properties of null (reading 'x') HOT 2
- Bug: TypeError: Failed to execute 'shaderSource' on 'WebGL2RenderingContext': parameter 1 is not of type 'WebGLShader'. HOT 2
- Bug: Cross Origin Image Loading doesn't work
- Bug: Crash immediatly after the load
- Bug: TilingSprite crash
- Bug: Alpha renders incorrectly for unclear reasons in Webkit and Blink
- Bug: Surprising behavior with pointer events on Container HOT 2
- Bug: destroying NineSliceSprite throws error
- Bug: Cannot let contextmenu event of canvas prevent default on Windows Chrome HOT 1
- Bug: WebGL: INVALID_OPERATION: uniformMatrix3fv & uniform2f: location is not from the associated program
- Bug: shaders in frag and wgsl are different for MaskFilter
- Bug: v8 cannot load resources in Android enviroment but v6 can HOT 3
- Bug: WebGPU in Safari Technology Preview 201 renders transparent pixels as opaque black
- Bug: HOT 4
- Bug: Resizing canvas does not update texture in some cases HOT 2
- Bug: EventSystem.resolution is not updated when renderer resolution is changed using renderer.resize() HOT 2
- Bug: Applying a mask using a texture with texture rotate set to a value other than a multiple of 4 (e.g., 2) results in an incorrect scale of the mask
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixijs.