You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message in question no longer exists in 4.3.beta1 (likely as the result of refactoring such as #84976). The issue should be (indirectly) fixed there already; can someone test?
The warning message will be replaced with this one:
#defineMAIN_THREAD_SYNC_WARNWARN_PRINT("Call to " + String(__FUNCTION__) + " causing RenderingServer synchronizations on every frame. This significantly affects performance.");
I need to iterate over several viewports every frame:
for key in vpdic.keys():
var ima = vpdic[key].get_texture().get_image()
So this error naturaly triggers;
How to disable as its buid-up slows and clutter the logger.
(Only happens if rendering/driver/threads/thread_model is set to multi-threaded)
The text was updated successfully, but these errors were encountered:
PeterMarques
changed the title
Cant disable this error
Cant disable this error "causing RenderingServer synchronizations on every frame. This significantly affects performance."
Dec 14, 2024
In this case you should disable the multi threaded thread model. The warning is correctly showing you that you are synchronizing the rendering thread with the main thread every frame, so you get no benefit from multithreading.
Originally posted by @clayjohn in #83046
I need to iterate over several viewports every frame:
for key in vpdic.keys():
var ima = vpdic[key].get_texture().get_image()
So this error naturaly triggers;
How to disable as its buid-up slows and clutter the logger.
(Only happens if rendering/driver/threads/thread_model is set to multi-threaded)
The text was updated successfully, but these errors were encountered: