Search Issue Tracker

Fixed in 5.3.5

Votes

3

Found in

5.3.2p2

Issue ID

771609

Regression

No

Instantiating prefab with animator component for the first time causes main thread hitch

Animation

-

Steps to reproduce:
1) open users attached project
2) build for standalone
3) press "Spawn Direct Reference Prefab"
- note the time it took to instantiate (printed out)
4) close and run the build again
5) press "Load resources prefab" and then "Spawn resources prefab"
- notice that it took the same amount of time to Instantiate

Expected: instantiating for the first time should be quicker after loading the prefab

Comments (1)

  1. jorgenpt

    Feb 18, 2016 18:46

    To clarify, the issue is that spawning a prefab takes longer the first time you do it, and up to ~50ms that we cannot hide, causing frame hitches. That 3 & 5 take the same amount of time is expected, but that they take a lot longer the first time than the subsequent times is unexpected.

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.