Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X, 2018.1.X
Votes
9
Found in
2017.3.0p3
Issue ID
1013198
Regression
No
[iOS] Crash in 'unity_z_inflate at inflate.c' when loading PNG file from WWW or Webrequest
Reproduction steps:
1. Open the attached project 'LoadPNGTest.zip'.
2. Build it to iOS device.
- Make sure you open '.xworkspace' instead of '.xcodeproj' file.
Actual result:
- Application will crash.
frame #0: 0x0000000100673298 PNGTest`inflate_fast + 284
- frame #1: 0x000000010071ea08 PNGTest`unity_z_inflate at inflate.c:957 [opt]
frame #2: 0x000000010071ab40 PNGTest`UNITY_png_read_IDAT_data at pngrutil.c:4022 [opt]
frame #3: 0x0000000100713bbc PNGTest`UNITY_png_read_row at pngread.c:531 [opt]
frame #4: 0x0000000100713ec8 PNGTest`UNITY_png_read_rows at pngread.c:660 [opt]
frame #5: 0x0000000100a4611c PNGTest`::DecodePixelsImpl() at ImageConversionCore.cpp:376 [opt]
Reproduced with:
- iPhone 7+ 10.3.2, iPhone 7 11.0.2
- 2017.1.3p2, 2017.2.2p1, 2017.3.1p4, 2018.1.0b11, 2018.2.0a4
Not reproducible with:
- Android
Note:
Full callstack below.
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "DirectoryNotFoundException" is thrown and Shader Graph does not open when opening a .shadegraph from a long path
- “Full Screen Pass Renderer Feature_Old GUID” text is cut off in Renderer Features window
- "Undo: Already found nextRootTransform, but with different state cached" error thrown when undoing changes made to the Hierarchy using a script
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
ACHIEVR
Apr 22, 2018 23:03
Yes, me too, with both WebRequest loading and texture.LoadImage()
Will 2017.1.3 be patched as well?
The documented workaround is here:
https://github.com/googlevr/gvr-unity-sdk/issues/878
andwoo
Mar 18, 2018 22:06
I've encountered this as well only when loading a png. Has anyone found a fix?