It’s too expensive to new a UnsafeParallelHashMap every frame.
Unity2022.3.13f1
com.unity.entities.graphics@1.0.16
Xiaomi 12 Pro
Did you try the impact when you create a persistent hash map and just clear it each frame? Would be curious to see the difference.
I tried. I gave it a simple try. The screen is flickering, but the performance is 10 times better