Random Selector is mostly idle?

Stroopwafel

New member
Hello,

I recently added a Random Selector node in my tree to randomly choose between two actions:
1770578685194.png1770578628125.png

But I notice a big spike in cpu load, consisting of mostly RandomSelectorTaskSystem being Idle. im not sure if im using it correctly or something else is going on?

Im on Unity 6000.3.2f1 with BDPro 2.1.11p2, running about 1k entities on the same tree.
 
I recommend updating to 2.1.12 as there have been some performance improvements in that. With that said, I took a look at the RandomSelectorTaskSystem and didn't notice anything out of the ordinary.. Is that the first run? On the first run it will require some initialization of the blob which decides the task order. If you can profile the system deeper then I will have a better idea.
 
Alright, I upgraded to 2.1.12 with Unity 6.3.8. Im running in a stress-test-scene in the editor (not build), where I run similar to a 'normal' scene but with a multiplier on assets/entities/flora/etc. Hence the low overall FPS. The behaviour of the RandomSelectorTaskSystem is similar in my normal scene tho.

Is below screenshot the info of the profiler you need?

1771014463265.png
 
Back
Top