Search Issue Tracker

Fixed in 2017.1

Votes

16

Found in

5.6.0p2

Issue ID

904652

Regression

Yes

[Android] Performance regression when loading a prefab with a lot of child objects using Resources.Load()

Mobile

-

To reproduce:

1.Download and open attached "ResourcesLoadBugReport560p2.zip" project.
2.Build and run on Android device.
3.Open profiler in the editor and connect device.
4.Press "Resources Load" button.
5.Notice a load spike in CPU usage.
6.Inspect it and notice that under BehaviourUpdate | EventSystem.Update() | Loading.ReadObject a process named "Loading.ReadObjectThreaded" takes about 300~700 ms to complete.

Expected result: Load time to be about 40~50 ms.
Actual result: Load time is around 300~700 depending on a device.

Reproduced with: 2017.1.0b2, 5.6.0p3
Not reproduced with : 5.5.3p2, 5.4.5p1

DUT:

Verizon SM G930V (Galaxy S7 Verizon), OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:Verizon/heroqltevzw/heroqltevzw:7.0/NRD90M/G930VVRU4BQA2:user/release-keys

Sony D6603 (Xperia Z3), OS:6.0.1, CPU:armeabi-v7a, GPU:Adreno (TM) 330, Build:Sony/D6603/D6603:5.1.1/23.4.A.1.264/2418263178:user/release-keys

Samsung SM G361F, OS:5.1.1, CPU:armeabi-v7a, GPU:Vivante GC7000UL, Build:samsung/coreprimeveltexx/coreprimevelte:5.1.1/LMY48B/G361FXXU1APB1:user/release-keys

Notes: On 2017 version, the ms seems to fall to around 100 ms, but this is still 2x slower than in 5.5 or 5.4. Prefab has around 650 child objects

Verified with 2017.2.0b2

Comments (28)

  1. 352ef30735c4a448eb649677cfce66b1?d=mm

    Mahesh218

    Jul 05, 2017 16:22

    Still issue present in all latest versions of Unity. Please fix this. Load time is 10x more than iOS device.

  2. Cf026b8ded40c049dc45b6a816795803?d=mm

    ChargedAds

    Jul 05, 2017 09:35

    Still in 5.6.2p1 on Android

  3. Fb3004e3ed13e45ff914cf5134ad33b3?d=mm

    raszop

    Jun 27, 2017 20:56

    just downgraded to unity 5.6 to meet this bug. my game previously loaded a dungeon in like 3 seconds, now it takes so long the screen turns off.

  4. 56e8c5030b176021670f52d703237316?d=mm

    KEric

    Jun 23, 2017 10:37

    WHY HAS IT BEEN CLOSED? IT'S STILL PRESENT AT 5.6.2

  5. 56e8c5030b176021670f52d703237316?d=mm

    KEric

    May 23, 2017 12:42

    That's a massive regression. Do Unity's developers took a nap?

  6. 56e8c5030b176021670f52d703237316?d=mm

    KEric

    May 23, 2017 12:24

    Present in 5.6.1

  7. 24d600493d93316eb042c28bd2c4d005?d=mm

    Michael_C

    May 19, 2017 21:33

    We are also seeing load times that are 10x higher on Android than on iOS. This issue started recently when we upgraded from 5.5.3p4 to 5.6.0p3.

  8. C3d2c9f0485260609f6d284a58792bc3?d=mm

    paradizIsCool

    May 17, 2017 15:03

    Still present in 5.6.0f3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.