Forum

You need to log in to create posts and topics.

HtmlUIPanel causes RESOURCE_TYPE_MEMORY when loading images

Hello!

I am having an issue with using PowerUI to display HTML images and text onto a RawImage.

The image and text will display fine when I run the app inside of Unity, but when I build my app and run it on iOS it will occasionally crash with the following error:

EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=1800 mb, unused=0x0)

This error only occurs when I am displaying an image with HtmlUIPanel. If I am only displaying text, the app will not crash.

Is there a known memory issue with loading images using PowerUI? If so, is there anything I can do on my end to fix it? The images are loaded via url and I have no control over their size or shape.

 

This is the thread:

ImageConversion_LoadImage

PowerUI.ImageFormat::LoadData(System.Byte[],PowerUI.ImagePackage)

PowerUI.ContentPackage::ReceivedData(System.Byte[],System.Int32,System.Int32)

Want the latest updates? Check out the repositories.