Description
Attempting to load large textures will reliably crash the Armory Player with the following message:
Not enough memory on image.c Buffer.
outofmem
To Reproduce
- Utilize a large texture (4096 pixels by 2048 pixels is the smallest I've reproduced the issue with so far) in a material.
- Attempt to start the game.
Expected behavior
The expectation is that the large texture would load and be displayed by the game.
Large textures may be necessary in some cases, for example when using tilesheets. The largest I would expect tilesheets to be required to support is 8192x8192.
System
Blender:
Armory: 2022.12.0 (tested on release and git main)
OS: Windows 10
Graphics card: NVidia GTX 3080
Test File
BasicTexture.zip
Description
Attempting to load large textures will reliably crash the Armory Player with the following message:
To Reproduce
Expected behavior
The expectation is that the large texture would load and be displayed by the game.
Large textures may be necessary in some cases, for example when using tilesheets. The largest I would expect tilesheets to be required to support is 8192x8192.
System
Blender:
Armory: 2022.12.0 (tested on release and git
main)OS: Windows 10
Graphics card: NVidia GTX 3080
Test File
BasicTexture.zip