Why addressable is 100x slower than resources folder?

            Addressables.Initialize();
            var t2 = GetTime(() => {
                for (int i = 0; i < count; i++) {
                    var o = Resources.Load<GameObject>("aaa");
                }
            });
            var t1 = GetTime(() => {
                for (int i = 0; i < count; i++) {
                    h = Addressables.LoadAsset<GameObject>("aaa");
                }
            });
            UnityEngine.Debug.Log($"t1={t1} t2={t2}");

t1=103513 t2=1097

it have same result when using loadasync and wait

Did you test this in build or in Editor?

in editor

Then that’s hardly a conclusive test.

Which mode do you have the addressables in? Fast, Virtual, Packed? What are the results if you use an actual addressables reference rather than a string the way addressables is meant to be used?

And in what context would you be loading the same asset over and over? That’s hardly a test replicating an actual use case scenario.

2 Likes