SpriteComponent always loaded event when disabled and not preloaded?

Hi, I’m having an issue where entities containing sprites component that are disabled in the editor are still getting loaded at launch event when the associated sprite and textureatlas assets are not set to preload.
When I use image component instead, the assets are not loaded when the entities are disabled.

I created a project that show the issue.
https://playcanvas.com/editor/scene/939908
Everything is disabled and you can see from the logs that the sprites assets get loaded at launch. (Both simple and animated sprites)

Hi @Mathieu_Branchaud,

Indeed this seems like a bug, not sure if there is a behavior that justifies this.

Would you like to submit an issue about this on the engine repo?

Done

3 Likes