Unity ECS Performance Drop

Hello,

I’m encountering a performance issue in my Unity project with ECS and would appreciate your help.

I have a rigged 3D model with 4k vertices, and I’m using a Compute Deformation shader with a single material. When I spawn this prefab as a GameObject in the main scene, I achieve an average FPS of about 110-120.

However, when I spawn it as an entity in a SubScene, I only get around 70 FPS, despite seeing increased CPU main and render thread usage. Even when I move away from the entities (3D models), the number of batches, triangles, and vertices decreases, but the CPU load remains high.

In the profiler, as I understand, that the CPU is waiting for the GPU. Under the GPU tab, I notice that the Default World Unity.Entities.PresentationSystemGroup takes approximately 15 ms, and when expanded further, Default World Unity.Rendering.EntitiesGraphicSystem => EndUpdate takes around 14 ms and It stays pretty much all the time like that.

What could be causing this issue?

Unity 2022.3.35f1
Entities 1.2.3
Entities Graphics 1.2.3
URP 14.0.11

Did you figure this out? I’m having the same problem. Disabling EntitiesGraphicSystem adds about 20fps…

Update: DX12 doesn’t have this issue.