• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-839
Back
1

CanvasWidget::DrawLine has a hidden global buffer

UIGraphicsModded
1

State

Open
Issue key
DZG-839
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
6wingseraph
Created
Sep 19, 2026
Views
15
Platform
PC Steam
What happened?

There is buffer of approx ~10922 draw calls of ANY active DrawLine's on screen.
This limitation is hidden, not explicit by minimum
By maximum, move buffer from global, to local by CanvasWidget, so every canvas has it own buffer.

This hidden buffer overflow is leading to many undefined behavior.
Glitching shadows
Glitching UI
Many more

Reproduction steps

Create simple for loop for 12000 iteration, with drawing any stroke to the canvas widget

Exact build version (optional)
1.29
Where did it happen?
Local / Offline
Is it modded?
Yes
Expected result

Move buffer from global, to local by CanvasWidget, so every canvas has it own explicit buffer.

Section
Mod list

testmod

Load order / launch params
—
Reactions

Activity

    about 3 hours ago
  • 6wingseraph
    created issueabout 3 hours ago

You are not signed in. Please sign in to see more details and to reply.

State

Open
Issue key
DZG-839
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
6wingseraph
Created
Sep 19, 2026
Views
15