Search Issue Tracker
Fixed in 5.3.5
Votes
0
Found in
5.3.3p3
Issue ID
779058
Regression
No
Using a runtime created AnimatorOverrideController for Animator.runtimeAnimatorController causes a hitch
To reproduce:
1. Build and run attached project
2. Run it, hit the button for Respawn Regular Prefab / Respawn Autohitch Prefab, and compare the timing
3. Review in Profiler to see that time is attributed to Profiler sample called "Assign New Controller
Reproducible: 5.4.0b10, 5.3.4f1, 5.2.4p1, 5.1.4f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX Graph] Base Color Map Inconsistency between Lit and Unlit Ouput
- [HDRP] Water is using the wrong depth when calculating absorption for alpha clipped transparents with depth prepass enabled
- [VFX Graph] Emissive isn't working with Decal output
- Gizmos are not drawn in Game view and Render Graph Execution errors are shown when stacked Overlay Camera is used and 'Compatibility Mode' is disabled
- Crash on WalkTypeTreeInternal when selecting the Texture of a specific FBX
hilllo
Oct 20, 2016 21:41
plus, it only causes error in build version. editor version is totally fine.
hilllo
Oct 20, 2016 21:39
I met the same problem in Unity 5.3.6 still. This part of code trigger it:
RuntimeAnimatorController ac = animationList[0].runtimeAnimatorController;
for (int i = 0; i < ac.animationClips.Length; i++)
{
if (ac.animationClips[i].name == this.animationTrigger)
{
lengthf = ac.animationClips[i].length;
this.isLoop = ac.animationClips[i].isLooping;
break;
}
}