Closed AllenDang closed 1 year ago
I've linked draco library and seems the cgltf already decode the mesh correctly, but still result in a crash. I think the problem might occurr somewhere else.
I'm using examples/models/models_loading_gltf.c with attached glb file. coffecup.glb.zip
examples/models/models_loading_gltf.c
Here is the error log
INFO: MODEL: Unloaded model (and meshes) from RAM and VRAM INFO: FILEIO: [/Users/allen/Desktop/coffecup.glb] File loaded successfully INFO: MODEL: [/Users/allen/Desktop/coffecup.glb] Model basic data (glb) loaded successfully INFO: > Meshes count: 1 INFO: > Materials count: 1 (+1 default) INFO: IMAGE: Data loaded successfully (2048x2048 | R8G8B8 | 1 mipmaps) INFO: TEXTURE: [ID 3] Texture loaded successfully (2048x2048 | R8G8B8 | 1 mipmaps) INFO: IMAGE: Data loaded successfully (2048x2048 | R8G8B8 | 1 mipmaps) INFO: TEXTURE: [ID 4] Texture loaded successfully (2048x2048 | R8G8B8 | 1 mipmaps) ^[[0m^[[1;38;2;255;0;0;1merror: ^[[0mexecv(/Users/allen/Documents/CppProjects/gltf_test/build/macosx/arm64/release/gltf_test ) failed(-1)^[[0m
From the log seems model and textures are loaded successfully
Here is my compile_commands.json
[ { "directory": "/Users/allen/Documents/CppProjects/gltf_test", "arguments": ["/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang", "-c", "-Qunused-arguments", "-target", "arm64-apple-macos13.3", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk", "-fvisibility=hidden", "-fvisibility-inlines-hidden", "-O3", "-std=c++17", "-DGL_SILENCE_DEPRECATION", "-framework", "CoreVideo", "-framework", "CoreGraphics", "-framework", "AppKit", "-framework", "IOKit", "-framework", "CoreFoundation", "-framework", "Foundation", "-framework", "OpenGL", "-I", "/Users/allen/Documents/CppProjects/gltf_test/build/.packages/d/draco_local/latest/a5b4e345986a4740863d88955955c4b5/include", "-I", "/Users/allen/Documents/CppProjects/gltf_test/build/.packages/r/raylib_local/latest/a5b4e345986a4740863d88955955c4b5/include", "-DNDEBUG", "-o", "build/.objs/gltf_test/macosx/arm64/release/src/main.cpp.o", "src/main.cpp"], "file": "src/main.cpp" }]
OS: macOS v13 Raylib: 4.5.0 draco: 1.5.6
------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: gltf_test [73382] Path: /Users/USER/Documents/*/gltf_test Identifier: gltf_test Version: ??? Code Type: ARM-64 (Native) Parent Process: Exited process [73379] Responsible: wezterm-gui [37651] User ID: 501 Date/Time: 2023-05-14 18:08:22.4489 +0800 OS Version: macOS 13.3.1 (22E772610a) Report Version: 12 Anonymous UUID: 2659B421-D8B5-BBA5-EE34-BA442EDDD96E Sleep/Wake UUID: B1126E3F-3B6C-404D-9E96-56009E37D257 Time Awake Since Boot: 390000 seconds Time Since Wake: 16425 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008 Exception Codes: 0x0000000000000001, 0x0000000000000008 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [73382] VM Region Info: 0x8 is not in any region. Bytes before following region: 105553518919672 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated) Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 gltf_test 0x10473eaa8 LoadModel + 7220 1 gltf_test 0x104715cd0 0x104714000 + 7376 2 dyld 0x1a4947f28 start + 2236 Thread 1: 0 libsystem_pthread.dylib 0x1a4c9ad8c start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x1a4c9ad8c start_wqthread + 0 Thread 3: 0 libsystem_pthread.dylib 0x1a4c9ad8c start_wqthread + 0 Thread 4:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x1a4c5ff14 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1a4c72240 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1a4c68b78 mach_msg_overwrite + 604 3 libsystem_kernel.dylib 0x1a4c60290 mach_msg + 24 4 CoreFoundation 0x1a4d7e8b8 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x1a4d7d198 __CFRunLoopRun + 1208 6 CoreFoundation 0x1a4d7c58c CFRunLoopRunSpecific + 612 7 AppKit 0x1a80c6508 _NSEventThread + 172 8 libsystem_pthread.dylib 0x1a4c9ffa8 _pthread_start + 148 9 libsystem_pthread.dylib 0x1a4c9ada0 thread_start + 8 Thread 5: 0 libsystem_pthread.dylib 0x1a4c9ad8c start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000136096c00 x1: 0x0000000000000090 x2: 0x0000000000000018 x3: 0x0000000000000007 x4: 0x0000000000000000 x5: 0x000000016b6ea270 x6: 0x000000000000000a x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000096c00 x11: 0x00000000005f9e80 x12: 0x00000000000080bf x13: 0x00000000ffff8007 x14: 0x000000000000048f x15: 0x00000000ffff7dff x16: 0x0000000113704870 x17: 0x0000000000000060 x18: 0x0000000000000000 x19: 0x000060000319eb00 x20: 0x0000000000000000 x21: 0x000060000319eb08 x22: 0x000000011380a600 x23: 0x000060000319eb10 x24: 0x000060000319eae0 x25: 0x000060000319eae8 x26: 0x0000000000000000 x27: 0x0000000000000000 x28: 0x00000000437f0000 fp: 0x000000016b6ea9e0 lr: 0x5d0700010473ea84 sp: 0x000000016b6ea360 pc: 0x000000010473eaa8 cpsr: 0x40001000 far: 0x0000000000000008 esr: 0x92000006 (Data Abort) byte read Translation fault Binary Images: 0x104714000 - 0x1047a3fff gltf_test (*) <3d8eadd3-9e3f-3fa3-9102-89f5f3f83d6a> /Users/USER/Documents/*/gltf_test 0x108038000 - 0x108043fff libobjc-trampolines.dylib (*) <80f14f3d-d099-3693-a8e0-eb9a526b1790> /usr/lib/libobjc-trampolines.dylib 0x10db2c000 - 0x10db97fff com.apple.AppleMetalOpenGLRenderer (1.0) <7651840d-f268-3dea-ab6e-979cd46d3b2b> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer 0x1a4942000 - 0x1a49d053b dyld (*) <ac277a36-1808-327a-8761-cca585421212> /usr/lib/dyld 0x1a4c99000 - 0x1a4ca5fff libsystem_pthread.dylib (*) <b401cfb3-8dfe-32db-92b3-ba8af0f8ca6e> /usr/lib/system/libsystem_pthread.dylib 0x1a4c5f000 - 0x1a4c98fe7 libsystem_kernel.dylib (*) <7acbd9bc-d056-310e-858d-81b116cf6d28> /usr/lib/system/libsystem_kernel.dylib 0x1a4cff000 - 0x1a51d8fff com.apple.CoreFoundation (6.9) <b4fdaece-9727-3969-b014-27f7f24c8e01> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x1a7f63000 - 0x1a8e71fff com.apple.AppKit (6.9) <cc3e5215-4cd7-364c-8750-6eb7002720ce> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%) Writable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 256K 2 Activity Tracing 256K 1 CG backing stores 4800K 8 CG image 96K 4 ColorSync 560K 25 CoreAnimation 128K 8 CoreGraphics 48K 3 CoreUI image data 656K 9 Foundation 16K 1 Kernel Alloc Once 32K 1 MALLOC 337.4M 56 MALLOC guard page 192K 10 MALLOC_MEDIUM (reserved) 1.1G 9 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) OpenGL GLSL 256K 3 STACK GUARD 56.1M 6 Stack 10.6M 6 VM_ALLOCATE 1280K 21 __AUTH 677K 174 __AUTH_CONST 13.2M 331 __CTF 824 1 __DATA 3110K 318 __DATA_CONST 15.3M 334 __DATA_DIRTY 718K 112 __FONT_DATA 2352 1 __GLSLBUILTINS 5174K 1 __LINKEDIT 800.7M 4 __OBJC_RO 66.2M 1 __OBJC_RW 2011K 1 __TEXT 252.9M 347 dyld private memory 272K 2 mapped file 263.7M 28 shared memory 1024K 20 =========== ======= ======= TOTAL 3.2G 1849 TOTAL, minus reserved VM space 1.8G 1849 ----------- Full Report ----------- {"app_name":"gltf_test","timestamp":"2023-05-14 18:08:22.00 +0800","app_version":"","slice_uuid":"3d8eadd3-9e3f-3fa3-9102-89f5f3f83d6a","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.3.1 (22E772610a)","roots_installed":0,"incident_id":"C44A1E23-2C2B-440A-8269-B7B54436F361","name":"gltf_test"} { "uptime" : 390000, "procRole" : "Background", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro18,2", "coalitionID" : 1023, "osVersion" : { "train" : "macOS 13.3.1", "build" : "22E772610a", "releaseType" : "User" }, "captureTime" : "2023-05-14 18:08:22.4489 +0800", "incident" : "C44A1E23-2C2B-440A-8269-B7B54436F361", "pid" : 73382, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-05-14 18:08:13.5499 +0800", "procStartAbsTime" : 9472390301760, "procExitAbsTime" : 9472603637114, "procName" : "gltf_test", "procPath" : "\/Users\/USER\/Documents\/*\/gltf_test", "parentProc" : "Exited process", "parentPid" : 73379, "coalitionName" : "com.github.wez.wezterm", "crashReporterKey" : "2659B421-D8B5-BBA5-EE34-BA442EDDD96E", "responsiblePid" : 37651, "responsibleProc" : "wezterm-gui", "codeSigningID" : "gltf_test", "codeSigningTeamID" : "", "codeSigningFlags" : 570556929, "codeSigningValidationCategory" : 10, "codeSigningTrustLevel" : 0, "wakeTime" : 16425, "sleepWakeUUID" : "B1126E3F-3B6C-404D-9E96-56009E37D257", "sip" : "enabled", "vmRegionInfo" : "0x8 is not in any region. Bytes before following region: 105553518919672\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL ...(unallocated)", "exception" : {"codes":"0x0000000000000001, 0x0000000000000008","rawCodes":[1,8],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000008"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":73382}, "vmregioninfo" : "0x8 is not in any region. Bytes before following region: 105553518919672\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-\/rwx SM=NUL ...(unallocated)", "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":5680975,"threadState":{"x":[{"value":5201554432},{"value":144},{"value":24},{"value":7},{"value":0},{"value":6097379952},{"value":10},{"value":0},{"value":0},{"value":0},{"value":617472},{"value":6266496},{"value":32959},{"value":4294934535},{"value":1167},{"value":4294934015},{"value":4621092976},{"value":96},{"value":0},{"value":105553168296704},{"value":0},{"value":105553168296712},{"value":4622165504},{"value":105553168296720},{"value":105553168296672},{"value":105553168296680},{"value":0},{"value":0},{"value":1132396544}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6703326574733945476},"cpsr":{"value":1073745920},"fp":{"value":6097381856},"sp":{"value":6097380192},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4369672872,"matchesCrashFrame":1},"far":{"value":8}},"queue":"com.apple.main-thread","frames":[{"imageOffset":174760,"symbol":"LoadModel","symbolLocation":7220,"imageIndex":0},{"imageOffset":7376,"imageIndex":0},{"imageOffset":24360,"symbol":"start","symbolLocation":2236,"imageIndex":3}]},{"id":5680977,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":5680978,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":5680985,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":5680989,"name":"com.apple.NSEventThread","frames":[{"imageOffset":3860,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":78400,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":5},{"imageOffset":39800,"symbol":"mach_msg_overwrite","symbolLocation":604,"imageIndex":5},{"imageOffset":4752,"symbol":"mach_msg","symbolLocation":24,"imageIndex":5},{"imageOffset":522424,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":6},{"imageOffset":516504,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":6},{"imageOffset":513420,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":6},{"imageOffset":1455368,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":7},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]},{"id":5680996,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64", "base" : 4369498112, "size" : 589824, "uuid" : "3d8eadd3-9e3f-3fa3-9102-89f5f3f83d6a", "path" : "\/Users\/USER\/Documents\/*\/gltf_test", "name" : "gltf_test" }, { "source" : "P", "arch" : "arm64e", "base" : 4429414400, "size" : 49152, "uuid" : "80f14f3d-d099-3693-a8e0-eb9a526b1790", "path" : "\/usr\/lib\/libobjc-trampolines.dylib", "name" : "libobjc-trampolines.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 4524785664, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer", "size" : 442368, "uuid" : "7651840d-f268-3dea-ab6e-979cd46d3b2b", "path" : "\/System\/Library\/Extensions\/AppleMetalOpenGLRenderer.bundle\/Contents\/MacOS\/AppleMetalOpenGLRenderer", "name" : "AppleMetalOpenGLRenderer", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64e", "base" : 7056138240, "size" : 582972, "uuid" : "ac277a36-1808-327a-8761-cca585421212", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64e", "base" : 7059640320, "size" : 53248, "uuid" : "b401cfb3-8dfe-32db-92b3-ba8af0f8ca6e", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7059402752, "size" : 237544, "uuid" : "7acbd9bc-d056-310e-858d-81b116cf6d28", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7060058112, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5087232, "uuid" : "b4fdaece-9727-3969-b014-27f7f24c8e01", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1971" }, { "source" : "P", "arch" : "arm64e", "base" : 7112896512, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15790080, "uuid" : "cc3e5215-4cd7-364c-8750-6eb7002720ce", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299.50.120" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 7055474688, "size" : 3539582976, "uuid" : "a52a6d6b-ad23-3f37-b4f1-4b6316acd74c" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG backing stores 4800K 8 \nCG image 96K 4 \nColorSync 560K 25 \nCoreAnimation 128K 8 \nCoreGraphics 48K 3 \nCoreUI image data 656K 9 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 337.4M 56 \nMALLOC guard page 192K 10 \nMALLOC_MEDIUM (reserved) 1.1G 9 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nOpenGL GLSL 256K 3 \nSTACK GUARD 56.1M 6 \nStack 10.6M 6 \nVM_ALLOCATE 1280K 21 \n__AUTH 677K 174 \n__AUTH_CONST 13.2M 331 \n__CTF 824 1 \n__DATA 3110K 318 \n__DATA_CONST 15.3M 334 \n__DATA_DIRTY 718K 112 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 800.7M 4 \n__OBJC_RO 66.2M 1 \n__OBJC_RW 2011K 1 \n__TEXT 252.9M 347 \ndyld private memory 272K 2 \nmapped file 263.7M 28 \nshared memory 1024K 20 \n=========== ======= ======= \nTOTAL 3.2G 1849 \nTOTAL, minus reserved VM space 1.8G 1849 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "logWritingSignature" : "57e2fcf88431f348d1ce30bbe2e1cbb3ff630499", "trialInfo" : { "rollouts" : [ { "rolloutId" : "62c74108bcb0435c2153f963", "factorPackIds" : { "SIRI_TEXT_TO_SPEECH" : "64558cbc59613d46f6d7e2cd" }, "deploymentId" : 240000157 }, { "rolloutId" : "5fb4245a1bbfe8005e33a1e1", "factorPackIds" : { }, "deploymentId" : 240000021 } ], "experiments" : [ { "treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3", "experimentId" : "6317d2003d24842ff850182a", "deploymentId" : 400000012 }, { "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be", "experimentId" : "64406ba83deb637ac8a04419", "deploymentId" : 900000005 } ] } } Model: MacBookPro18,2, BootROM 8422.100.650, proc 10:8:2 processors, 32 GB, SMC Graphics: Apple M1 Max, Apple M1 Max, Built-In Display: DELL U2422H, 1920 x 1080 (1080p FHD - Full High Definition), Main, MirrorOff, Online Display: Color LCD, 3456 x 2234 Retina, MirrorOff, Online Memory Module: LPDDR5, Samsung AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Mar 8 2023 18:27:05 version 20.96.27.0.8.7.144 FWID 01-ec2ac09e Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus USB Device: USB31Bus USB Device: USB3.1 Hub USB Device: USB2.1 Hub USB Device: USB 2.0 Hub USB Device: ErgoDox EZ USB Device: BillBoard Device USB Device: composite_device Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.
Closed by https://github.com/raysan5/raylib/issues/3051
Issue description
I've linked draco library and seems the cgltf already decode the mesh correctly, but still result in a crash. I think the problem might occurr somewhere else.
I'm using
examples/models/models_loading_gltf.c
with attached glb file. coffecup.glb.zipHere is the error log
From the log seems model and textures are loaded successfully
Here is my compile_commands.json
Environment
OS: macOS v13 Raylib: 4.5.0 draco: 1.5.6
Detail Error Report