How can I preload and pre enable only the assets I'm getting from Api

I have developed an online fruits store and I’m getting tags from api for the fruits assets which are in stock and will be shown to the user.
But the problem is that in Mobile, since it is hanging a lot when trying to load a lot of fruits at once, the app crashes on the mobile.
Is there a way I can execute my script that basically fetches the tags and matches them with the assets in the scene and enable them during the preload state?

I tried loading the script before engine but It didn’t enable the assets.

I’m confused.

Hi @Aa_Khn

To handle large asset loading on mobile, consider these optimizations:

  1. For 2D assets: Load only those visible on screen to reduce memory usage.

  2. For 3D assets: If identical, use batching to improve performance.

  3. VRAM Limit: On mobile, VRAM can be a constraint. Check VRAM usage by pressing Alt + T in Game View when running from the editor’s launch button.

  4. Asset Optimization: Optimize assets to minimize VRAM impact.

If issues persist, feel free to share the project here or via DM for further assistance.