Skip to content

WorkerThreadPool max thread count set to 0 produces index error and crash at start #107733

Open
@smix8

Description

@smix8

Tested versions

Godot 4.5beta1

System information

Windows 10

Issue description

If WorkerThreadPool max thread count is set to 0 in the ProjectSettings it causes index errors at game start followed by a crash.

Expected would be that it would set itself to at least 1 thread as default as it does with all platforms that do not support threads.

Steps to reproduce

Set WorkerThreadPool max thread count to 0 in the ProjectSettings.

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions