Search Unity

How to fix slow load time of ‘resources.resource’

Discussion in 'Asset Bundles' started by NephGS, Jul 30, 2019.

  1. NephGS

    NephGS

    Joined:
    Feb 15, 2015
    Posts:
    61
    hi,

    Currently doing a project for the Switch and I am having an initial startup problem when loading ‘resources.resource’ as it loads piece by piece it’s taking 3mins. The Switch has slow file loading already.

    Having thousands of what seems like really small loads like loads of 1byte at a time.

    Is there a way to load that file into memory and parse it from there? Or create an AssetBundle? Not used AssetBundles before, would there have to be code changes?

    Any guidance would be appreciated.


    Thanks,
    Simon
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,609
    Please use the Unity for Nintendo Switch forums over at Nintendo:
    https://developer.nintendo.com

    You find advice on optimizing asset bundle loading times for Nintendo Switch over there.

    I recommend you read through the "Development Guide > Using Asset Bundles" section in the "Unity for Nintendo Switch Development Manual" that comes with the SDK.