Skip to content

Enough calls to lightmap_unwrap will eventually cause the game to hang. #92119

Open
@DataPlusProgram

Description

@DataPlusProgram

Tested versions

4.0, 4.2, 4.3dev

System information

Tested on a laptop with integrated graphics and desktop with dedicated.

Issue description

If lightmap_unwrap is called enough times the application will hang.

The number of calls before the hang can vary even on the same machine, my PC has gotten close to 10,000 calls before a hang while my laptop usually gets to around 2000.

Steps to reproduce

This is the code that will lead to a hang:
image

Minimal reproduction project (MRP)

unwrapTest.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions