Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.0p1
Issue ID
951864
Regression
No
[iOS] Crash at 'CreateMetalShaderShaderLab()' or 'PresentGLES' when attempting to load an asset bundle
Reproduction steps:
1. Open the attached 'Bug951864.zip' project.
2. Open 'Scripts/Utility' file and delete/comment:
...
case BuildTarget.WebPlayer:
return "WebPlayer";
...
case RuntimePlatform.OSXWebPlayer:
case RuntimePlatform.WindowsWebPlayer:
return "WebPlayer";
...
3. Go to iOS player settings and set Target SDK to Device SDK.
4. Build and run on iOS device.
5. Application crashes:
Metal:
* thread #11, name = 'UnityGfxDeviceWorker', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00000001003c2be4 ProductName`::CreateMetalShaderShaderLab() [inlined] ExtractMetalShaderBlobDesc at MetalShaderBlobHeader.h:39 [opt]
frame #1: 0x00000001003c2be4 ProductName`::CreateMetalShaderShaderLab() at GpuProgramsMetal.mm:205 [opt]
frame #2: 0x00000001008746f8 ProductName`::CreateGpuProgram() at GpuProgram.cpp:888 [opt]
frame #3: 0x0000000100aa65d4 ProductName`::DequeueAll() at GfxCreateGpuProgramQueue.cpp:33 [opt]
frame #4: 0x0000000100abc0fc ProductName`::RunCommand() at GfxDeviceWorker.cpp:606 [opt]
frame #5: 0x00000001003bec64 ProductName`::GfxDeviceWorkerAutoreleasePoolProxy() at GfxDeviceMetal.mm:3550 [opt]
...
GLES:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x1981872a8)
frame #0: 0x0000000184811ba0 libsystem_platform.dylib`_platform_memmove + 208
frame #1: 0x00000001981872ec SceneKit`SCNGetPerformanceStatistics + 68
frame #2: 0x0000000103456064 libglInterpose.dylib`__clang_call_terminate + 24572
frame #3: 0x0000000103452de8 libglInterpose.dylib`__clang_call_terminate + 11648
frame #4: 0x00000001036373ec libglInterpose.dylib`__clang_call_terminate + 1995652
frame #5: 0x0000000103634f08 libglInterpose.dylib`__clang_call_terminate + 1986208
* frame #6: 0x0000000100722268 ProductName`::PresentGLES(surface=0x0000000103b2dec0) at GlesHelper.mm:355 [opt]
frame #7: 0x00000001007230c4 ProductName`::-[DisplayConnection present]() [inlined] Present(surface=<unavailable>) at UnityRendering.h:309 [opt]
frame #8: 0x00000001007230ac ProductName`::-[DisplayConnection present](self=0x00000001c40a8ca0, _cmd=<unavailable>) at DisplayManager.mm:228 [opt]
...
Reproduced with:
iOS
5.5.5f1, 2017.3.0b3
Metal,GLES
iPad Air 2 iOS 9.2
iPad Mini 4 iOS 11.0
iPhone 8 plus simulator
Not reproducible with:
Android
Xiaomi Redmi Note 3*, OS:5.1.1, CPU:arm64-v8a, GPU:Adreno (TM) 510, Build:Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V8.0.7.0.LHOCNDG:user/release-keys
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
vick_techround
Aug 23, 2018 16:14
It's critical issue! Why won't fix?
SamiSdd
Jul 12, 2018 21:43
Why this wont be fixed. We are seeing crash at CreateMetalShaderShaderLab in updated Bundles