@RobieTheCat Hi Robie,
I am working on a project that uses Skinned MeshParts with 3 other developer friends. And we are running into an issue that we havenât been able to resolve in over two weeks now. Hopefully you can help us.
Problem Summary:
One of my team mates experiences a very severe frame rate drop whenever we import some Skinned MeshParts. However, the other two developers and myself do not experience any frame rate drop whatsoever.
*Problem Details:
We have some Skinned MeshParts that contain 20 or more bones, such as the root model shown in the following image. https://gyazo.com/0a7251c4b99a5abc74cf0b93de083d18
Two of the devs in my team and myself have no problem moving around and doing stuff with such models, as shown in the following gif: https://gyazo.com/5471f671bdb134066c503d71c46eb304
However, one of the devs in my team has trouble moving inside the place when we import and have those models in there, as shown in the following gif:
https://gyazo.com/b9705af37175d1862005ac0578b4f645
When he moves the bones out of the MeshPart, or deletes them, his lag stops. As shown in the following gif: https://gyazo.com/bf551c9d7b90beda57c720dd9f13aa9b
Worth Noting that he does NOT lag when he clicks Play/Run. Only when the game is not running/playing.
He also does not lag with some other Skinned MeshParts that have fewer bones, such as the one in the following image which contains only 4 bones: https://gyazo.com/afb2be5540c5a995ea09da6191d76ab9
Weâve tried the following:
-
We created two test models, both with many bones, but one had no vertices along its body. To test if the issue had something to do with bones not having vertices near them, or multiple bones fighting for the same vertices. Both models caused lag to my developer friend. (didnât cause lag to me or the other 2 devs) â so we discarded the vertices as being the issue. https://gyazo.com/32e31a6f44bd859836c5c90cc28864f6
-
He uninstalled and re-installed the Studio. No success.
-
He uninstalled and re-installed the Studio, removing all his Plugins. No success.
-
He turned off constraints viewer in the editor menu. No success.
-
He disabled VSync in his GPU. No success.
-
He imported the problematic models into an empty place with no other assets or plugins. No success.
-
He erased his machine Cache. No success.
Also worth noting, his computer specs are not bad. In fact, he has better specs than one of the other devs in the team, who does not lag at all. The following are our PC specs, Team Mate 3 is the one experiencing the lag issue with the Skinned MeshParts:
Mine:
CPU: Intel i7-7700K 4.20GHz
RAM: 16 GB DDR4
GPU: GeForce GTX 1070
Team Mate 1:
CPU: AMD FX-6300 3.5GHz
RAM: 32 GB DDR3
GPU: GeForce GTX 1050 Ti
Team Mate 2:
CPU: AMD RYZEN 5 3600X
RAM: 16 GB DDR4
GPU: AMD FURY
Team Mate 3:
CPU: i7-4770 3.8 GHz
RAM: 12 GB DDR4
GPU: GTX 1060
We have spent a lot of time trying to solve our team mateâs lag with Skinned MeshParts, and we are running out of ideas. Any help would be appreciated.
Regards,