[Possible BUG] Draw texure size 2048x1536 crash game on ipad

New project > First person shooter bluperint template

Set New hud, draw hud and then connect it to draw texture. Set texture that is 2048x1536 and compile (make .ipa). Game crashes on my ipad4(didnt even set other parameters, just connected execution node)(P.S. even if i add parammeters it doesnt work). I choosed different texture (with size 880x1097) and it worked. So i added other parameters and it worked as it should.

Hi wmbuRn,

Which version of the ipad do you have? Additionally, what OS version are you running? Do you have reproduction steps to allow me to reproduce this on my end as we attempted to repro it and did not see this crash occur.

iPad4 with iOS 8.0.2 . iMac version 10.9.5 . Unreal engine version 4.4.3
Steps:

  1. Create new project (i used First person blueprint template)
  2. Create HUD via blueprint menu (i used default name when creating HUD)
  3. Import any picture size 2048x1536 (its ipad4 resolution)
  4. Open newly create HUD and add “Event Receive Draw HUD”
  5. add Draw Texture (not Draw Texture Simple"), set asset to be image you imported and connect execution nodes between “Event Receive Draw HUD” and “Draw Texture”.(we are not going to set UV nor X and Y position, nor width and height of the image, as we dont need it to reproduce the bug)
  6. Click to Launch game on ipad4 (game compiles, and start on ipad4, and crashes right after splash screen)

P.S. Even if i do add values to X and Y and other values in “Draw Texture” it still crash.

If i import another picture that is size 880x1097 (and replace it in “Draw Texture”) it works fine, even if i assign values to “Draw Texture”.

P.P.S If needed i can provide quick video

Hi wmbuRn,

We have thus far been unable to reproduce this on our end. Can you reproduce this crash in a clean project with no additional content?

Here is video showing everything i was saying: - YouTube

Depends on what you mean by “clean” project. I only imported 2 textures and set provision for iOS on entirely new project (as i stated twice in my comments).

Hi wmbuRn,

We have been able to reproduce this on our end and I have entered a bug report, TTP#349535 to be assessed by the development staff. Thank you and have a great day!

Great, now i dont need to resize all textures i have xD . Have a great day

If you make the texture be uncompressed, it should work at that size. My understanding is that recent versions of the engine will make a non power-of-two texture be uncompressed, but if you change the texture group to EditorIcon, see if that solves the crash, in the meantime.

But, if you want those textures to be compressed, I suggest you change it to be a power of two dimension, and possibly use the space for other elements in your UI :slight_smile:

We are looking at adding import-time options of padding out textures to be power of two, but don’t think that would be before 4.8.

Josh