Skip to content

RenderStartup runs after ExtractSchedule #19910

Closed
@andriyDev

Description

@andriyDev

The new RenderStartup schedule runs after ExtractSchedule. For most situations, this doesn't matter. As per #19887, our goal is to migrate ~all of our resource inits to RenderStartup. However, in some situations, render resources are needed to extract data from the main world.

For a concrete case, there is LightmapPlugin. When extracting Lightmap components from the main world, it tries to allocate lightmap "slabs". Based on whether "bindless" is supported by the renderer, this determines how many lightmaps we can have per slab.

While this particular case has a few potential solutions, the broader concern is that RenderStartup running after ExtractSchedule leads to this surprising behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions