Closed
Description
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.