Reilaen Posted December 4, 2022 Share Posted December 4, 2022 (edited) Hi everyone, I am a little confused about Assets.load and hope somebody can help me out. In the PixiJS Documentation, it says that Assets.load will never load something more than once. But when I use Asset.load('http://example.com/example.webp') twice or more, I get the following messages per load: BaseTexture added to the cache with an id [http://example.com/example.webp] that already had an entry Texture added to the cache with an id [http://example.com/example.webp] that already had an entry So it seems to me like Assets.load loads and caches the image on every call, which contradicts what the documentation says. So I am wondering if it is a problem in my code, or I am misunderstanding what the documentation really means. Edited December 4, 2022 by Reilaen 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.