You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering an issue when exporting a Godot project using the Godot Engine v4.4.beta1 version on a macOS GitHub workflow runner. The export process fails with the following error related to Metal:
Godot Engine v4.4.beta1.mono.official.d33da79d3 - https://godotengine.org
Metal 3.1 - Forward Mobile - Using Device #0: Apple - Apple Paravirtual device (Apple5)
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppleParavirtDevice newArgumentEncoderWithLayout:]: unrecognized selector sent to instance 0x12782a000'
*** First throw call stack:
(
Error: Godot export release failed
0 CoreFoundation 0x0000000180df22cc __exceptionPreprocess + 176
Notice: Cleaning up sensitive files...
1 libobjc.A.dylib 0x00000001808d6158 objc_exception_throw + 60
2 CoreFoundation 0x0000000180ea4568 -[NSObject(NSObject) __retain_OA] + 0
3 AppleParavirtGPUMetalIOGPUFamily 0x00000001150b4f5c doUncompressedBlit + 11180
4 Metal 0x000000018b0bcec4 -[_MTLDevice newArgumentEncoderWithArguments:structType:] + 136
5 Godot 0x00000001043ffa14 _ZN26RenderingDeviceDriverMetal27shader_create_from_bytecodeERK6VectorIhERN22RenderingDeviceCommons17ShaderDescriptionER6StringRKS0_IN21RenderingDeviceDriver16ImmutableSamplerEE + 2984
6 Godot 0x00000001069a067c _ZN15RenderingDevice41shader_create_from_bytecode_with_samplersERK6VectorIhE3RIDRKS0_INS_7UniformEE + 708
7 Godot 0x0000000106b4f9d8 _ZN8ShaderRD16_compile_variantEjNS_11CompileDataE + 2272
8 Godot 0x000000010762aeb8 _ZN16WorkerThreadPool13_process_taskEPNS_4TaskE + 372
9 Godot 0x000000010762b818 _ZN16WorkerThreadPool16_thread_functionEPv + 304
10 Godot 0x0000000106fff324 _ZN6Thread8callbackEyRKNS_8SettingsEPFvPvES3_ + 148
11 Godot 0x0000000106fff770 _ZN6ThreadD1Ev + 148
12 libsystem_pthread.dylib 0x0000000180c9df94 _pthread_start + 136
13 libsystem_pthread.dylib 0x0000000180c98d34 thread_start + 8
)
libc++abi: terminating due to uncaught exception of type NSException
Steps to reproduce
Steps to Reproduce:
1. Set up a macOS runner in GitHub Actions.
2. Export a project using cli command without headless.
3. Export fails with the above error.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
As a workaround for CI export, you can try using Vulkan driver by adding --rendering-driver vulkan to the command line.
Thanks for pointing me to issue #101773 and suggesting the workaround! I tried adding --rendering-driver vulkan to the command line, and it worked perfectly in my CI setup.
Tested versions
System information
GitHub Workflow Runner(macos-latest)
Issue description
We are encountering an issue when exporting a Godot project using the Godot Engine v4.4.beta1 version on a macOS GitHub workflow runner. The export process fails with the following error related to Metal:
Steps to reproduce
Steps to Reproduce:
1. Set up a macOS runner in GitHub Actions.
2. Export a project using cli command without headless.
3. Export fails with the above error.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: