Problems with Physics and ECS

I have tried Unity Physics Examples in GitHub - Unity-Technologies/EntityComponentSystemSamples but besides gives a lot of errors at start as need you to install some other packages than the ones required in the documentation, in the end everything appears with pink shaders, i change the shader and finally press play and i see frames drop up to 30fps for just the collision of a few primitive colliders colliding in the scene, where is the performance? if i used ECS is to get better performance not worse

Did you enable burst?

Also enable synchronous compilation so that you don’t get the lag spike for the first few seconds or so.

Yes

I had Asynchronous shader compilation active if that is what you meant

I meant synchronous compilation in Burst. It’s in Jobs->Burst->Synchronous Compilation in the menu bar.

1 Like

Yes, that worked thanks