Search Issue Tracker
Fixed in 5.6.0
Votes
2
Found in
5.5.0f3
Issue ID
857443
Regression
No
[GC Alloc]Playables API "SetInputWeights()" method generates tons of garbage collector allocation
Steps to reproduce:
1. Download and open the attached project.
2. Open the Profiler window
3. Enter play mode
Expected result: no, or minimal GC Alloc
Actual result: SetInputWeight generates a lot of garbage collector allocation
Reproduced on: 5.3.7p2, 5.4.4f1, 5.5.0f3, 5.5.0p3
Unable to test on 5.6 because the Playables API seems to not work
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
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
PhilSA
Jan 19, 2017 15:46
I tested it in 5.6b4 after these examples were posted : https://forum.unity3d.com/threads/animationclipplayable.451854/#post-2926897
The GC alloc for SetInputWeight() seems to be gone completely now. The problem appears to be fixed
TheValar
Jan 13, 2017 18:34
This is a huge problem. I think many use-cases for this system involve setting input weights every frame. For me this is basically unusable until this is fixed :(