- Home /
when XR settings is enabled and cardboard is added to list, loadImage() functions crashes app when PNG is loaded
When I try to use LoadImage() function and pass the adderess of a PNG image unity 2017.3.1 crashes, but works fine when path to a JPG image is passed to LoadImage(). Occurs when cardboard is added to XR settings list.
Answer by mehtanitish · Aug 17, 2018 at 05:21 AM
Hi,
Figured it out actually it has nothing to do with XR settings, it occured when PNG image is loaded using LoadImage() method. This is a known issue: https://github.com/googlevr/gvr-unity-sdk/issues/878
This should be fixed in: Latest 2018.1 2017.4.1f1 2017.2.2p3 2017.1.3p3
I upgraded my project to 2017.4.1f1 and its working fine now.
Nitish
Your answer
Follow this Question
Related Questions
Unity 5 crash on asset import with android 3 Answers
[VR] Failed to load OVRPlugin.dll 3 Answers
Unity 5.6 Daydream and Vulkan crash at start 2 Answers
My VR game build crashes when the terrain is enabled. 0 Answers
VR game crashes 2 Answers