I am working on a project with UE5 where we have many virtual textures and it seems the limit of 16 page table spaces is exceeded : within the function AcquireSpace in VirtualTextureSystem.cpp, an assert triggers : “Failed to acquire space for VT (%d x %d), failed to allocate from %d existing matching spaces”. This issue happens during the loading time of a map with a lot of geometry and materials.
After inspecting the problem, it seems that a new space is created if the space description does not fit, which is mainly chosen by the NumPageTableLayers variable, which varies a lot with different materials.
I am struggling understanding the meaning of the NumPageTableLayers and how it is attributed. Is it related to the VT physical format ? And each layer would be a different format ? Some materials uses various VT texture format such as BC5, BC7 or DXT1.
And would you have any leads about the problem I am having ?
Having the same issue in 5.0.3
Wondering how to solve it
Error -
Assertion failed: false [File:D:\build++UE5\Sync\Engine\Source\Runtime\Renderer\Private\VT\VirtualTextureSystem.cpp] [Line: 855] Failed to acquire space for VT (32 x 32), failed to allocate from 0 existing matching spaces
changing my landscape material with a few landscape layers to a new master material always leads to this engine closing situation.
tried to remove the RVT drawing, limited the landscape components loaded on moment of master change but the problem keeps on happening.
any indication what contributes to it would be very useful in finding a solution to keep my project going. (im stuck with my old spaghetti master material and have a clean one ready since years now, and i try this replacement with each new engine version , but its not happening).
the new master can be used on new landscapes without problems. the problem arises if i assign it to a landscape that already had landscape layers before. i removed the previous material…removed the deserted landscape layers…restarted the engine…applied the new master…but i still get the crash