Exceeding a number of loaded textures in Windows 10 causes game crashes and broken vanilla textures
Partner Rank: 2
Partner Team Reporting: Spark Squared
Verification builds:
v1.16.201 (Release build, Windows 10, RenderDragon)
Summary:
Exceeding a number of loaded textures in Windows 10 causes game crashes and broken vanilla textures
Impact:
The issue limits the complexity of products we can make, and forces us to use workarounds, which requires a lot of manual work.
Repro Steps:
- Load the provided resource pack
- Join a world
Observed Results:
Vanilla block textures and UI elements turn pink or white and the game crashes immediately or after leaving the world.
The exact result depends on how many entity files are loaded. The pack ships with 139 files, which causes a crash. 130 files for example causes pink textures. Below roughly 120 files, the game tends to work fine.
Expected Results:
The vanilla textures should not break, the game should not crash.
Screenshots/Videos attached: Yes
Regression Builds:
N/A
Notes:
All entity files in the pack link to 28 unique textures. The number of these unique links is what causes the game to break.
The provided pack only contains the entity files, not the textures and models. But the issue also occurs if the assets are included in the pack.
Also note that this is not a size or performance issue. All images are quite small in size, and the same issue does not occur with fewer, larger textures.
This was tested on the latest iOS version and did not cause any issues there.