SDK version: 2018.12.19.17.03
Dynamic Bone version: 1.2.0
In Unity, my avatar performance reports as Medium. In-game, it's Very Poor.
The difference was just Dynamic Bone - the SDK always reports 0, in game I get the corr-- well, I get a number that isn't 0, anyway.
Investigation:
There's this check in AvatarPerformance:
if (collidersFieldInfo == null || collidersFieldInfo.FieldType.GetGenericTypeDefinition() != typeof(List<>) || collidersFieldInfo.FieldType.GetGenericArguments().Single() != dyBoneColliderType)
return;
The check returns true and exits without setting the fields, because:
* dyBoneColliderType == DynamicBoneCollider
* collidersFieldInfo.FieldType.GetGenericArguments().Single() == DynamicBoneColliderBase