Okay, so, for anyone who's been having performance issues,
compare Mal0 and Mal0 V2.
Mal0 V2 will run really well for a bit, and then suddenly it runs like crap.
If you look at the log while this is happening, you get the following error for every moment where frames are not rendered, and this error happens any time the animator is updated:
[Error : Unity Log] [Physics.PhysX] TriangleMesh::loadFromDesc: desc.isValid() failed!
So it looks like there is indeed something going on there.
The same error will show up on Mal0 and all the others, but won't impact them.
But some specific characters are deeply affected by it.
While this is happening, your CPU usage does not increase, and your GPU usage plummets, which points to something being constantly interrupted. So, something to do with the way threads are handled in the game is fucked, as you'll notice there is quite a large quantity of inter-dependent threads/enumerators.
I'll see if I can find the root cause, as this is preventing me from playing characters I want to play.
More on this later.
Edit: After looking this up mostly, it appears I am indeed mostly correct.
Something's happening in the mesh baking process incurred by RASCAL.
You must be registered to see the links
This is the used prefab.
I don't even know why this is even remotely required by the game.
Will test further.
Edit edit: After further testing, it seems it is indeed the culprit.
And it literally changes nothing about what's going on in the scene.
Why is there even a collider involved? These are animationclips.
Anyways, if you go to class RASCALSkinnedMeshCollider in Dnspy, and remove everything under Start, it no longer has the error, and everything runs completely fucking fine.
Could somebody please let the author of the game know to get rid of that shit?
It literally does absolutely nothing useful right now.
Literally everything I've tested after stopping it from doing its thing, has worked flawlessly.
It runs like a dream even, even in VR!