Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean macOS build of examplesDebug crashes with [MTLRenderPipelineReflectionInternal vertexBindings] exception #3101

Open
mcslee opened this issue May 18, 2023 · 6 comments

Comments

@mcslee
Copy link

mcslee commented May 18, 2023

Fresh build of the project from a clean checkout of bgfx/bx/bimg, via OSX command line make osx-arm64. I also tried with make osx-x64. In both cases, I get the same error: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MTLRenderPipelineReflectionInternal vertexBindings]: unrecognized selector sent to instance 0x600003915540'

Full command line debug output is shown below. I tried running both x64/arm64 builds, they produce the same error.

My System Information is screenshotted beneath.

  • macOS Monterery 12.6.5
  • Apple M1 Max
  • MacBook Pro 14-inch 2021, 64GB ram

Not sure what to try, google doesn't turn up much of anything about this error. Thank you!

(base) mcslee@Marks-M1-Pro bgfx % cd examples/runtime 
(base) mcslee@Marks-M1-Pro runtime % ../../.build/osx-arm64/bin/examples.app/Contents/MacOS/examplesDebug 
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (3543): BGFX Init...
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (3550): BGFX Version 1.118.8474 (commit: f7ce1a7b1b30bc5bc5163b7f25e080e4f5e660f1)
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1742): BGFX Reset back-buffer swap chain:
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1751): BGFX 	1280x720, format: RGBA8, numBackBuffers: 2, maxFrameLatency: 0
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1753): BGFX 	[ ] MSAAx1
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1754): BGFX 	[ ] Fullscreen
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1755): BGFX 	[x] V-sync
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1756): BGFX 	[ ] Max Anisotropy
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1757): BGFX 	[ ] Capture
2023-05-18 09:00:56.834 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1758): BGFX 	[ ] Flush After Render
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1759): BGFX 	[ ] Flip After Render
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1760): BGFX 	[ ] sRGB Back Buffer
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1761): BGFX 	[ ] Transparent Back Buffer
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1762): BGFX 	[ ] HDR10
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1763): BGFX 	[ ] Hi-DPI
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1764): BGFX 	[ ] Depth Clamp
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1765): BGFX 	[ ] Suspend
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1927): BGFX Application called bgfx::renderFrame directly, not creating render thread.
2023-05-18 09:00:56.835 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1943): BGFX Running in multi-threaded mode
2023-05-18 09:00:56.846 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (453): BGFX Init.
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1580): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1584): BGFX Detected GPUs (1):
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1585): BGFX 	 +----------------   Index
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1586): BGFX 	 |  +-------------   Device ID
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1587): BGFX 	 |  |    +--------   Vendor ID
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1597): BGFX 	 0: 03ef 106b
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1600): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1603): BGFX GPU device, Device ID: 03ef, Vendor ID: 106b
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1604): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1609): BGFX Supported renderer backends (4):
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1612): BGFX 	 - Noop
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1612): BGFX 	 - Metal
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1612): BGFX 	 - OpenGL 2.1
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1612): BGFX 	 - Vulkan
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1615): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1616): BGFX Sort key masks:
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1617): BGFX 	   View     ff00000000000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1618): BGFX 	   Draw bit 0080000000000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1620): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1621): BGFX 	D  Type     0060000000000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1623): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1624): BGFX 	D0 Blend    0018000000000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1625): BGFX 	D0 Program  0007fc0000000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1626): BGFX 	D0 Depth    000003fffffffc00
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1628): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1629): BGFX 	D1 Depth    001fffffffe00000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1630): BGFX 	D1 Blend    0000000000180000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1631): BGFX 	D1 Program  000000000007fc00
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1633): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1634): BGFX 	D2 Seq      001ffffe00000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1635): BGFX 	D2 Blend    0000000180000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1636): BGFX 	D2 Program  000000007fc00000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1638): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1639): BGFX 	 C Seq      007ffff800000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1640): BGFX 	 C Program  00000007fc000000
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1642): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1647): BGFX Capabilities (renderer Metal, vendor 0x106b, device 0x03ef):
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_ALPHA_TO_COVERAGE
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_BLEND_INDEPENDENT
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_COMPUTE
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_CONSERVATIVE_RASTER
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_DRAW_INDIRECT
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_FRAGMENT_DEPTH
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_FRAGMENT_ORDERING
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_GRAPHICS_DEBUGGER
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_HDR10
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_HIDPI
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_IMAGE_RW
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_INDEX32
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_INSTANCING
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_OCCLUSION_QUERY
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_RENDERER_MULTITHREADED
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_SWAP_CHAIN
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_TEXTURE_2D_ARRAY
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_TEXTURE_3D
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_TEXTURE_BLIT
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_TRANSPARENT_BACKBUFFER
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_TEXTURE_COMPARE_ALL
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_TEXTURE_COMPARE_LEQUAL
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_TEXTURE_CUBE_ARRAY
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_TEXTURE_DIRECT_ACCESS
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_TEXTURE_READ_BACK
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_VERTEX_ATTRIB_HALF
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_VERTEX_ATTRIB_UINT10
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[x] BGFX_CAPS_VERTEX_ID
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1653): BGFX 	[ ] BGFX_CAPS_VIEWPORT_LAYER_ARRAY
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1657): BGFX 
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1658): BGFX Limits:
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1660): BGFX 	maxDrawCalls                 65535
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1661): BGFX 	maxBlits                      1024
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1662): BGFX 	maxTextureSize               16384
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1663): BGFX 	maxTextureLayers              2048
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1664): BGFX 	maxViews                       256
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1665): BGFX 	maxFrameBuffers                128
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1666): BGFX 	maxFBAttachments                 8
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1667): BGFX 	maxPrograms                    512
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1668): BGFX 	maxShaders                     512
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1669): BGFX 	maxTextures                   4096
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1670): BGFX 	maxTextureSamplers              16
2023-05-18 09:00:56.857 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1671): BGFX 	maxComputeBindings              16
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1672): BGFX 	maxVertexLayouts                64
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1673): BGFX 	maxVertexStreams                 4
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1674): BGFX 	maxIndexBuffers               4096
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1675): BGFX 	maxVertexBuffers              4096
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1676): BGFX 	maxDynamicIndexBuffers        4096
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1677): BGFX 	maxDynamicVertexBuffers       4096
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1678): BGFX 	maxUniforms                    512
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1679): BGFX 	maxOcclusionQueries            256
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1680): BGFX 	maxEncoders                      8
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1681): BGFX 	minResourceCbSize            65536
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1682): BGFX 	transientVbSize            6291456
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1683): BGFX 	transientIbSize            2097152
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1686): BGFX 
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1687): BGFX Supported texture formats:
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1688): BGFX 	 +----------------   2D: x = supported / * = emulated
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1689): BGFX 	 |+---------------   2D: sRGB format
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1690): BGFX 	 ||+--------------   3D: x = supported / * = emulated
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1691): BGFX 	 |||+-------------   3D: sRGB format
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1692): BGFX 	 ||||+------------ Cube: x = supported / * = emulated
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1693): BGFX 	 |||||+----------- Cube: sRGB format
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1694): BGFX 	 ||||||+---------- vertex format
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1695): BGFX 	 |||||||+--------- image: i = read-write / r = read / w = write
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1696): BGFX 	 ||||||||+-------- framebuffer
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1697): BGFX 	 |||||||||+------- MSAA framebuffer
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1698): BGFX 	 ||||||||||+------ MSAA texture
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1699): BGFX 	 |||||||||||+----- Auto-generated mips
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1700): BGFX 	 ||||||||||||  +-- name
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[xlxlxlv     ] BC1
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[xlxlxlv     ] BC2
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[xlxlxlv     ] BC3
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v     ] BC4
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v     ] BC5
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v     ] BC6H
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[xlxlxlv     ] BC7
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ETC1
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ETC2
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ETC2A
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ETC2A1
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] PTC12
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] PTC14
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] PTC12A
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] PTC14A
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] PTC22
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] PTC24
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ATC
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ATCE
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ATCI
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC4x4
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC5x4
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC5x5
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC6x5
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC6x6
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC8x5
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC8x6
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC8x8
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC10x5
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC10x6
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC10x8
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC10x10
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC12x10
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *       ] ASTC12x12
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[        f+  ] R1
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v     ] A8
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+ M] R8
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] R8I
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] R8U
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+ M] R8S
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] R16
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] R16I
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] R16U
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+ M] R16F
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] R16S
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] R32I
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] R32U
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] R32F
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RG8
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] RG8I
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] RG8U
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RG8S
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RG16
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] RG16I
2023-05-18 09:00:56.858 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] RG16U
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RG16F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RG16S
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f   ] RG32I
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f   ] RG32U
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] RG32F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *   f+  ] RGB8
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *   f+  ] RGB8I
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *   f+  ] RGB8U
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[* * *   f+  ] RGB8S
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v     ] RGB9E5
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[xlxlxlv f+  ] BGRA8
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[xlxlxlvif+ M] RGBA8
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] RGBA8I
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] RGBA8U
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RGBA8S
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RGBA16
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] RGBA16I
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+  ] RGBA16U
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+ M] RGBA16F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RGBA16S
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif  M] RGBA32I
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif  M] RGBA32U
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x vif+ M] RGBA32F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] B5G6R5
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] R5G6B5
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] BGRA4
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RGBA4
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] BGR5A1
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RGB5A1
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RGB10A2
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+ M] RG11B10F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D16
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D24
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D24S8
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D32
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D16F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D24F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D32F
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1722): BGFX 	[x x x v f+  ] D0S8
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1727): BGFX 
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1731): BGFX NDC depth [0, 1], origin top left.
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx.cpp (1733): BGFX 
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4919): BGFX Creating uniform (handle   0) `s_texColor`, num 1
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4919): BGFX Creating uniform (handle   1) `bgfx_clear_depth`, num 1
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4919): BGFX Creating uniform (handle   2) `bgfx_clear_color`, num 1
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4896): BGFX   Resize uniform (handle   2) `bgfx_clear_color`, num 2
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4896): BGFX   Resize uniform (handle   2) `bgfx_clear_color`, num 3
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4896): BGFX   Resize uniform (handle   2) `bgfx_clear_color`, num 4
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4896): BGFX   Resize uniform (handle   2) `bgfx_clear_color`, num 5
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4896): BGFX   Resize uniform (handle   2) `bgfx_clear_color`, num 6
2023-05-18 09:00:56.859 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4896): BGFX   Resize uniform (handle   2) `bgfx_clear_color`, num 7
2023-05-18 09:00:56.860 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4896): BGFX   Resize uniform (handle   2) `bgfx_clear_color`, num 8
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2880): BGFX Texture   0: R8 (requested: R8), layers 1, 2048x24 RT[ ], WO[ ], CW[ ], sRGB[ ]
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Vertex Shader consts 1
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 3
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_color0: 0
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_color1: 1
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 2
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_texcoord0: 3
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/bgfx.cpp (546): BGFX VertexLayout 74c34f26 (d443ed7f), stride 28
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr  0: Attrib::Position     num 3, type 4, norm [ ], asint [ ], offset  0
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr  4: Attrib::Color0       num 4, type 0, norm [x], asint [ ], offset 12
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr  5: Attrib::Color1       num 4, type 0, norm [x], asint [ ], offset 16
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr 10: Attrib::TexCoord0    num 2, type 4, norm [ ], asint [ ], offset 20
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Vertex Shader consts 1
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.869 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 1
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/bgfx.cpp (546): BGFX VertexLayout aaaa40da (e0896034), stride 8
2023-05-18 09:00:56.870 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr  0: Attrib::Position     num 2, type 4, norm [ ], asint [ ], offset  0
2023-05-18 09:00:56.870 examplesDebug[63694:503358] ../../../src/bgfx.cpp (3557): BGFX Init complete.
2023-05-18 09:00:56.870 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4919): BGFX Creating uniform (handle   3) `s_tex`, num 1
2023-05-18 09:00:56.870 examplesDebug[63694:503358] ../../../src/bgfx_p.h (4919): BGFX Creating uniform (handle   4) `u_imageLodEnabled`, num 1
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Vertex Shader consts 1
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 3
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_color0: 0
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 1
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_texcoord0: 2
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Vertex Shader consts 1
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2608): BGFX Fragment Shader consts 4
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_position: 0
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2700): BGFX attr a_texcoord0: 1
2023-05-18 09:00:56.896 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2880): BGFX Texture   1: BGRA8 (requested: BGRA8), layers 1, 1024x1024 RT[ ], WO[ ], CW[ ], sRGB[ ]
2023-05-18 09:00:56.897 examplesDebug[63694:503323] ../../../src/bgfx.cpp (546): BGFX VertexLayout 93597fa9 (21d0cb5a), stride 20
2023-05-18 09:00:56.897 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr  0: Attrib::Position     num 2, type 4, norm [ ], asint [ ], offset  0
2023-05-18 09:00:56.897 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr  4: Attrib::Color0       num 4, type 0, norm [x], asint [ ], offset 16
2023-05-18 09:00:56.897 examplesDebug[63694:503323] ../../../src/bgfx.cpp (566): BGFX 	attr 10: Attrib::TexCoord0    num 2, type 4, norm [ ], asint [ ], offset  8
2023-05-18 09:00:56.898 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2292): BGFX attrib: a_color0 format: 9 offset: 16
2023-05-18 09:00:56.898 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2292): BGFX attrib: a_position format: 29 offset: 0
2023-05-18 09:00:56.898 examplesDebug[63694:503323] ../../../src/renderer_mtl.mm (2292): BGFX attrib: a_texcoord0 format: 29 offset: 8
2023-05-18 09:00:56.898 examplesDebug[63694:503323] -[MTLRenderPipelineReflectionInternal vertexBindings]: unrecognized selector sent to instance 0x6000026c83c0
2023-05-18 09:00:56.899 examplesDebug[63694:503323] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MTLRenderPipelineReflectionInternal vertexBindings]: unrecognized selector sent to instance 0x6000026c83c0'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000019fb59138 __exceptionPreprocess + 240
	1   libobjc.A.dylib                     0x000000019f8a3e04 objc_exception_throw + 60
	2   CoreFoundation                      0x000000019fbecee8 -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x000000019fab8464 ___forwarding___ + 1764
	4   CoreFoundation                      0x000000019fab7cc0 _CF_forwarding_prep_0 + 96
	5   examplesDebug                       0x0000000102e03a64 _ZN4bgfx3mtl18RendererContextMtl16getPipelineStateEyjNS_17FrameBufferHandleEhPPKNS_12VertexLayoutENS_13ProgramHandleEh + 4504
	6   examplesDebug                       0x0000000102d88f78 _ZN4bgfx7Context11renderFrameEi + 296
)
libc++abi: terminating with uncaught exception of type NSException
zsh: abort      ../../.build/osx-arm64/bin/examples.app/Contents/MacOS/examplesDebug
(base) mcslee@Marks-M1-Pro runtime % 
Screen Shot 2023-05-18 at 9 02 45 AM
@ernesernesto
Copy link

@mcslee those function is not available for your macos version, this pull request will fix your issue ef5937b

@mcslee
Copy link
Author

mcslee commented Jul 10, 2023

Great - thank you very much @ernesernesto. Figured it was likely something to do with versioning. Hopefully that'll find its way into master soon.

Adding a link to the open pull request here, for reference: #3088

@truedat101
Copy link

We've got a stack of old iOS devices around that are on 14.x, however the recommendation is to upgrade since there are serious security issues from early this year that are addressed in OS patches. There is no way to do incremental patches from 14.m.p1 to 14.m.p2 unless the device architecture is EOL. By default iOS will jump you from a 14.m.p1 -> latest OS.m.p. In the case of iOS devices, iphone 6 devices are an example of an architecture that is EOL and is not receiving major OS updates, although Apple has released patch updates for glaring security problems. The question is around the project's need to support backwards compatibility to older architectures. I would say a healthy balance is appreciated, as in the domestic education system, there is more likely to be piles of old ipads that won't ever get upgraded, and being able to support applications for years is sometimes a requirement.

@cclark25
Copy link

I am having what seems to be the same issue on macOS Monterey 12.7.1, for an Intel MacBook. This is happening on the current master branch (git commit a0057ad).

It looks like the PR linked by @ernesernesto hasn't been merged yet.

@cclark25
Copy link

Hmm looks like applying those same changes to the master branch produces a slightly different error.

...

2023-12-17 14:17:00.333 examplesDebug[32084:282070] -[MTLBufferArgument isUsed]: unrecognized selector sent to instance 0x7fe7a6268090
2023-12-17 14:17:00.334 examplesDebug[32084:282070] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MTLBufferArgument isUsed]: unrecognized selector sent to instance 0x7fe7a6268090'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007ff819cad6e3 __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff819a0d8bb objc_exception_throw + 48
        2   CoreFoundation                      0x00007ff819d3232b -[NSObject(NSObject) __retain_OA] + 0
        3   CoreFoundation                      0x00007ff819c14467 ___forwarding___ + 1356
        4   CoreFoundation                      0x00007ff819c13e88 _CF_forwarding_prep_0 + 120
        5   examplesDebug                       0x0000000104ee24fd _ZN4bgfx3mtl18RendererContextMtl16processArgumentsEPNS0_16PipelineStateMtlEP7NSArrayIPU21objcproto10MTLBinding11objc_objectES8_ + 621
        6   examplesDebug                       0x0000000104e92e9e _ZN4bgfx7Context11renderFrameEi + 270
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6```

@cclark25
Copy link

I managed to workaround this issue by upgrading to MacOS Sonoma 14.2. It didn't even require me to rebuild bgfx.
It seems for the meantime bgfx will just be broken on older versions of MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants