Too many debug lines added during the frame

Hi,

I use 2022.2.0B13, Entities1.0 exp 12 and physics 1.0 exp 12

I have a ECS program that spawns a large amount of “Cars”, depending on the test I am running up to 40.000.
When I run with a lower number of cars, all works as expected, no debug messages displayed.

But going high, I get contiously the message :

Too many debug lines added during the frame (max 10240 can be added from jobs). Some lines have been dropped.
To avoid this please pass "-debug-line-buffer-size <size>" on the command line or add to boot config

In the console I just have this line continously printed, not one actual debug message.

I do not have any Debug.Log statements in my code.

I also checked the files on the “Logs” Directory but there on none which holds any repeating debug messages.

I have other entities (grid terrain and roads) with much large counts, not causing any issues.

Is there any way to see what is causing this, or at least see the debug messages itself ?

Solved.

It was caused bij a Debg.DrawLine(…) in the system that handles the car…

1 Like