JordanG Posted April 22, 2021 Share Posted April 22, 2021 I'm loading the assets before creating the Game and I store the loader in a context so that every class can use that scene loader. Th first time such a scene loads everything works fine, but when the next scene with those sprites come ack I get this error "Cannot read property 'uvsFloat32' of null". I want to preload those assets, because I don't want to reload these assets for every scene, because they are used very frequently, like the Player and UI those are in every game scene and I thought that the loading times would improve if I would load those once at the begin. Quote Link to comment Share on other sites More sharing options...
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.