Renderer Static entities

Hi everybody ,

I’m trying to understand how Dots are working , and I have a misunderstood about rendering static entities.

I have a scene with a lot of 3D object for the environment , and I’m using the “convert to entity” check box to convert them to entities.

the problem is that I notice that if my Gameobject are set to “static” , entities are not rendering.

So, is it better to let them like Gameobject with static ? Or It’s better performance to convert them into entities with “static” uncheck?
Or maybe I’m in the wrong way to do this ?

Thanks for the help !
Have a good day :slight_smile:

1 Like

Does your project have static batching enabled? Entity rendering does not support static batching.

In DOTS 0.5 and newer, rendering performance should be roughly the same for static and non-static entities. However, static entities might have performance advantages with CPU simulation code (e.g. transform updating).

@JussiKnuuttila Hello !

Is I have static batching enabled.

You are talking about between Static “gameobject”? and non Static entities? if yes, thanks for the awnser :slight_smile: !

I’m already using entities if I have a lot of moving object. But I have also a lot of unique mesh, that share the same material (atlas) and there are Static gameobject. So I don’t know if it’s better to let them as Gameobject with static enabled, or I switch them into entities , incrasing batching ( for mobile).

Thanks for helping me :smile:!