Search Issue Tracker

Fixed in 5.4.4

Votes

1

Found in

5.5.0b3

Issue ID

831137

Regression

No

[iOS] [Metal] Application crash on "SetTextures [inlined] operator== + 4 at GfxDeviceTypes.h:816"

iOS

-

Reproduction steps:
1. Open the attached project.
2. Build and run the "Main" scene for iOS.
3. Application crashes.

Notes:
Doesn't crash on 5.5.0b3, but Metal API gives different results(Screenshots attached).

Reproduced with:
5.4.1f1, 5.3.6p4
iPad Air 2 9.3.2

Stack strace:
* thread #15: tid = 0x104417, 0x00000001008ec02c ProductName`SetTextures [inlined] operator== + 4 at GfxDeviceTypes.h:816, name = 'UnityGfxDeviceWorker', stop reason = EXC_BAD_ACCESS (code=1, address=0x23c817b98)
* frame #0: 0x00000001008ec02c ProductName`SetTextures [inlined] operator== + 4 at GfxDeviceTypes.h:816 [opt]
frame #1: 0x00000001008ec028 ProductName`SetTextures + 84 at GfxDeviceMetal.mm:1227 [opt]
frame #2: 0x0000000100581318 ProductName`::ApplyTextureParameters() + 64 at GpuProgram.cpp:984 [opt]
frame #3: 0x00000001008ec178 ProductName`SetShadersThreadable + 200 at GfxDeviceMetal.mm:1274 [opt]
frame #4: 0x00000001008df3e8 ProductName`::RunCommand() + 2964 at GfxDeviceWorker.cpp:657 [opt]
frame #5: 0x00000001008ece90 ProductName`GfxDeviceWorkerAutoreleasePoolProxy + 68 at GfxDeviceMetal.mm:1726 [opt]
frame #6: 0x00000001008e40e0 ProductName`::Run() + 52 at GfxDeviceWorker.cpp:331 [opt]
frame #7: 0x00000001008de764 ProductName`::RunGfxDeviceWorker() + 92 at GfxDeviceWorker.cpp:306 [opt]
frame #8: 0x0000000100698380 ProductName`::RunThreadWrapper() + 64 at Thread.cpp:44 [opt]
frame #9: 0x0000000180b8fb28 libsystem_pthread.dylib`_pthread_body + 156
frame #10: 0x0000000180b8fa8c libsystem_pthread.dylib`_pthread_start + 156
frame #11: 0x0000000180b8d028 libsystem_pthread.dylib`thread_start + 4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.