Skip to content

GPU Lua errors after joining server #3574

@Strand8319

Description

@Strand8319

Describe the bug

If server already has enabled ZGPU entity all new players will recieve this error

[wire] addons/wire/lua/entities/gmod_wire_gpu/cl_init.lua:294: bad argument #4 to 'DrawRect' (number expected, got nil)
1. DrawRect - [C]:-1
2. RenderGPU - addons/wire/lua/entities/gmod_wire_gpu/cl_init.lua:294
3. Draw - addons/wire/lua/entities/gmod_wire_gpu/cl_init.lua:402
4. unknown - gamemodes/base/entities/entities/base_anim.lua:49 (x13)

How to reproduce the bug

Create ZGPU, upload code, connect to server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions