I have all Meshpart stored in ServerStorage. The first time I need a part, inside the server Script I parent it to ReplicatedStorage. Then (within LocalScript) I clone the ReplicatedStorage to workspace. So far so good.
However, when I run this in the game, Meshpart sometimes takes 1 second to appear, even after Clone()
. So I thought Clone() yields.
Here you can see there is a delay between I click on an item in the GUI and the MeshPart effectively appears on the screen (I put it in slow-motion for a better understanding):
It happens ONLY THE FIRST TIME I click the item. The second time on, the render is immediate.
How to avoid this delay on the first render?