Hello everyone,
I have a weird issue with Unity right now. One of our functionnality is to change the material of an object, for it to look different. However, when we do this, we have a really long update, with Semaphore.WaitForSignal on the CPU taking a lot of time (generally taking more than a second), and a really long meshSkinning.Update on the GPU (generally ~half the CPU time in those instances).
From what I understood of Semaphore.WaitForSignal, it’s a process that waits for something to happen on the GPU.
I have no idea where to look to find a solution for this, so any help is appreciated.