2/21 SDK: Avatar Validation Causes Prohibitively Poor Performance in Unity
complete
HardLight670
The 2/21 sdk release has introduced a change where avatar validation is performed constantly while the build panel is open. For some avatar hierarchies, this needlessly increases CPU usage and reduces Unity to a near unusable state as there is no longer any cooldown period between checks.
On a related note, the Avatar Validation script could stand to be revisited for performance. The FindTypes function is static, yet returns an uncached enumerable that performs multiple type reflection calls. DotNet Reflection is notorious for performing poorly, so evaluating this enumerable every time avatar validation is invoked is likely a needless performance loss.
Log In
Aev
complete
Kiraver
Experiencing this issue too, opening up the Build Control Panel causes Unity to lock up, used to not happen. A workaround for now is to disable all other avatars in the scene except for the one you want to upload, the performance hit is reduced.
i
ian
this also happens with VRCSDK-2018.02.23.18.45_Public