During a development of a project I encountered a strange error:
LogD3D12RHI: Warning: Force flushing command list to GPU because too many commands have been enqueued already (10002 commands)
The level structure looks like this:
- on a persistent level, I placed static objects that need to have lighting baked (I use GPU Lightmass for baking)
- on sub-level I placed landscape with foliage, all elements of this sub-level are dynamic as I don’t want to bake lighting there
- on other sub-levels, I got lighting scenarios that have only lights inside with different settings
Before light baking, I disable landscape sub-level visibility to skip light baking for it. After the bake is complete, I turn on the landscape’s sub-level visibility and this error is thrown each frame. The only way I can stop it is I can remove landscape or I can change directional light’s mobility to Dynamic or Static and bake the lighting again.
Any idea what may be causing this problem? Ask me for any information, I will be glad to see that someone wants to help me. Thank you!