godot icon indicating copy to clipboard operation
godot copied to clipboard

Crash after creating C# project in 4.0.beta1 when using Linux distro provided dotnet packages

Open baryluk opened this issue 1 year ago • 19 comments

Godot version

4.0.beta1

System information

Linux, X11, Vulkan

Issue description

First time ever. Created a new project, immediate crash.

user@debian:~/a/Godot_v4.0-beta1_mono_linux_x86_64$ ./Godot_v4.0-beta1_mono_linux.x86_64 
Godot Engine v4.0.beta1.mono.official.4ba934bf3 - https://godotengine.org
Vulkan API 1.2.0 - Using Vulkan Device #0: AMD - AMD Radeon RX 6900 XT (RADV NAVI21)
 
ERROR: The host fxr folder does not exist: /usr/share/dotnet/host/fxr
   at: try_get_path_from_dotnet_root (modules/mono/editor/hostfxr_resolver.cpp:323)
ERROR: .NET: One of the dependent libraries is missing. Typically when the `hostfxr`, `hostpolicy` or `coreclr` dynamic libraries are not present in the expected locations.
   at: find_hostfxr (modules/mono/mono_gd/gd_mono.cpp:126)
ERROR: .NET: Failed to load hostfxr
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:397)
Migrating legacy project list
WARNING: Error getting image file from URL: https://raw.githubusercontent.com/ywmaa/Advanced-Movement-System-Godot/master/icon.png
     at: _image_request_completed (editor/plugins/asset_library_editor_plugin.cpp:828)
WARNING: Error getting image file from URL: https://raw.githubusercontent.com/ywmaa/Advanced-Movement-System-Godot/master/icon.png
     at: _image_request_completed (editor/plugins/asset_library_editor_plugin.cpp:828)
Editing project: /home/user/asdasd
Godot Engine v4.0.beta1.mono.official.4ba934bf3 - https://godotengine.org
Vulkan API 1.2.0 - Using Vulkan Device #0: AMD - AMD Radeon RX 6900 XT (RADV NAVI21)
user@debian:~/a/Godot_v4.0-beta1_mono_linux_x86_64$  
ERROR: The host fxr folder does not exist: /usr/share/dotnet/host/fxr
   at: try_get_path_from_dotnet_root (modules/mono/editor/hostfxr_resolver.cpp:323)
ERROR: .NET: One of the dependent libraries is missing. Typically when the `hostfxr`, `hostpolicy` or `coreclr` dynamic libraries are not present in the expected locations.
   at: find_hostfxr (modules/mono/mono_gd/gd_mono.cpp:126)
ERROR: .NET: Failed to load hostfxr
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:397)
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:75)
WARNING: FBX file import is enabled in the project settings, but no FBX2glTF path is configured in the editor settings. FBX files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:99)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta1.mono.official (4ba934bf3d1e697d8f332b5e8cfd694cdf49a7ba)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3daf0) [0x7ff934a40af0] (??:0)
-- END OF BACKTRACE --
================================================================

Steps to reproduce

Download, create a project.

Minimal reproduction project

Empty one.

baryluk avatar Sep 16 '22 01:09 baryluk

Trying to launch godot again and opening same project (again just empty one created before), crashes it same way.

baryluk avatar Sep 16 '22 01:09 baryluk

Debug logs:

user@debian:~/a/Godot_v4.0-beta1_mono_linux_x86_64$ ./Godot_v4.0-beta1_mono_linux.x86_64  --verbose --debug
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Godot Engine v4.0.beta1.mono.official.4ba934bf3 - https://godotengine.org
XInput: Refreshing devices.
XInput: No touch devices found.
Vulkan devices:
  #0: AMD AMD Radeon RX 6900 XT (RADV NAVI21) - Supported, Discrete
  #1: Unknown llvmpipe (LLVM 14.0.6, 256 bits) - Supported, CPU
Vulkan API 1.2.0 - Using Vulkan Device #0: AMD - AMD Radeon RX 6900 XT (RADV NAVI21)
- Vulkan Variable Rate Shading supported:
  Pipeline fragment shading rate
  Primitive fragment shading rate
  Attachment fragment shading rate, min texel size: (8, 8), max texel size: (8, 8)
- Vulkan multiview supported:
  max view count: 8
  max instances: 2147483647
- Vulkan subgroup:
  size: 64
  stages: STAGE_VERTEX, STAGE_TESSELLATION_CONTROL, STAGE_TESSELLATION_EVALUATION, STAGE_GEOMETRY, STAGE_FRAGMENT, STAGE_COMPUTE
  supported ops: FEATURE_BASIC, FEATURE_VOTE, FEATURE_ARITHMETIC, FEATURE_BALLOT, FEATURE_SHUFFLE, FEATURE_SHUFFLE_RELATIVE, FEATURE_CLUSTERED, FEATURE_QUAD
  quad operations in all stages
Using present mode: VK_PRESENT_MODE_FIFO_KHR
Using present mode: VK_PRESENT_MODE_FIFO_KHR
Using "default" pen tablet driver...
Creating VMA small objects pool for memory type index 0
Shader 'CanvasSdfShaderRD' SHA256: 380478f3aaac15c006cb8a1dc97986d51b475fd887abae67ae0d5cf60621e3ef
Shader 'SkeletonShaderRD' SHA256: af15a5a187628723b670cb7da7f98b3257ad39f06f2600ab172fb3c2bbc165bf
Shader 'ParticlesShaderRD' SHA256: 309501a6b1b7f7613b410373080e0eb6a6438d21652a5b65e39fe21f22dd7ab0
Shader 'ParticlesCopyShaderRD' SHA256: cc0c11ee5d52f9b7efd874f0dd0e7af38ee26cb73e834bac56d81fff0c58efbf
Shader 'CanvasShaderRD' SHA256: 74eb11172aa2b8c74034176cad3a8a527a6fe51f65d27983bae282558e2b4d0c
Shader 'CanvasOcclusionShaderRD' SHA256: 34042d20f84d4d3ec485cb0a7ac6f53664978cd3ec0119ffdabfcec405e97166
Shader 'ClusterRenderShaderRD' SHA256: e006ff5b0d373599d77d9421021c2bbc0d4ee23915106e5db3b7bc4644f2cef3
Shader 'ClusterStoreShaderRD' SHA256: 7eedff5a68ee86cad3a249c2b9e3874577047cc714c678e2dafa4153a391c53c
Shader 'ClusterDebugShaderRD' SHA256: 4fe186460eed812bb08f9e938668aa2ff46d8631f1ba38e25c719a5721a88900
Shader 'SceneForwardClusteredShaderRD' SHA256: be3aebb850c2489abcb08e1796b646ceaab6b841b7314a07bdc0adeebf7db08d
Shader 'ResolveShaderRD' SHA256: e021e03e0be497d9d95d32cb6cd19640c0003250e82bc83f71fe1008d34f38be
Shader 'TaaResolveShaderRD' SHA256: b44d5d1a690144020746c35d5de0a2659f6ce81116b24a608aec1860d5854abf
Shader 'SkyShaderRD' SHA256: 0e719b364851a9ff14bef98c4e6710f2b0dddb3ada41b5aad162d610abbde2df
Shader 'VoxelGiShaderRD' SHA256: ba699ee80a2adb46c6c628802917248f5bd56f36cc1c8d85b1c31bd00599ac91
Shader 'VoxelGiDebugShaderRD' SHA256: 9ee6c519a45a3ee4521958f6be626287760fd601ea58e3fbf266b66ab578b913
Shader 'SdfgiPreprocessShaderRD' SHA256: 6f2c55750a2ca94109101e9e82c7dd7e098f67824cbfb2fd891fcbfe413abca8
Shader 'SdfgiDirectLightShaderRD' SHA256: 3b879c4d0b471d8a8ad009e6c675ff97a564e865d8801c92a963ed9504a299e7
Shader 'SdfgiIntegrateShaderRD' SHA256: dd7195d3fbd1d7e26f716b352b621a734122f349741a0456e70e14f391225f89
Shader 'GiShaderRD' SHA256: 247dcd2a0a691cd07980176aec4426a39664c198e473a38813d1131e7c2605b0
Shader 'SdfgiDebugShaderRD' SHA256: 978874eb6b5d93b6ea76df18ad1c138ddeb21c44e680242832a71e408f2280ce
Shader 'SdfgiDebugProbesShaderRD' SHA256: 991fa0d4e685f905de07b560c3792417409d511292d9f51a9715524c386bc065
Shader 'VolumetricFogShaderRD' SHA256: cb15e7a58aa05c6b99c9504b21870d4c08917ab75fe563f12f6262f27e4d13a8
Shader 'VolumetricFogProcessShaderRD' SHA256: fceedd1747a81b020c1a0b773e958723b1bfa27e97ac9c0c4115b92400fbab1d
Shader 'BokehDofShaderRD' SHA256: 331e59179d95cfc9efa6e9dccf46a0c8d527e8db16eb2633e0d92ddd276f63b7
Shader 'CopyShaderRD' SHA256: e4eab33fbd0199a954938c7030315ebbf1b2693cbe185ae3f4d0ad5e0881613b
Shader 'CopyToFbShaderRD' SHA256: fce85cb8fa8d4523d23ffc4f0897e53f8eb78d4eadf3ad45748083a9529f06fe
Shader 'CubeToDpShaderRD' SHA256: 87c4728e791b9b1a5f58a1839db68648488d8b265fa45f62f86bdd2527d1e4fa
Shader 'CubemapDownsamplerShaderRD' SHA256: 2439e9aeb6e77eb7b8f8099d4d74ed34e37f07a2c8c81820a039638d56f20814
Shader 'CubemapFilterShaderRD' SHA256: 66416950f2d0e2e2dd851a36d2e4441e96f55eaa37573cefa5458e4eac998619
Shader 'CubemapRoughnessShaderRD' SHA256: c10d322391b060f33890576b448e661efeed6aca850bbcd484aa9c2d6001ca3c
Shader 'SpecularMergeShaderRD' SHA256: de3e097b10ec47b14eb0caaa54e41f233abd51873b7d9aacbe5d5247eb8184fe
Shader 'TonemapShaderRD' SHA256: bbf22781ac253b4e8e94abfe871381d30f1bef9aa42cd5b1db5a1c76d670843c
Shader 'VrsShaderRD' SHA256: fa00a7a625100f14218714e9fbc26e5eb29e30bca732e39eac81b4146b1d9c97
Shader 'FsrUpscaleShaderRD' SHA256: f768e3b76fe516ddb3a371bbaaf2bfc32526de8b49679be6dbd12e7e3c674833
Shader 'SsEffectsDownsampleShaderRD' SHA256: 9f73717965720cb39a9120f00526012b8f68740c6f9432e8764381c5567df6e6
Shader 'SsilShaderRD' SHA256: da95634fbb4b716ce8a82b3b3f9d3eec1dbf15fc74cc5078d10566e2c7238a9b
Shader 'SsilImportanceMapShaderRD' SHA256: c29fdf3e8ca48cb3ab781b0c6bd846bb7a16b3d573b48e9462cd5019e72eac36
Shader 'SsilBlurShaderRD' SHA256: 3b4b64f4f821aa6c0aef9758e43325d2ce501d54aa526bb6f9910611f6a87cbb
Shader 'SsilInterleaveShaderRD' SHA256: 5c304084f605aa41d366ef79c1dbcd650d10c648a997ff3e55823502472e7d22
Shader 'SsaoShaderRD' SHA256: 898bc8ac7354280306af62b737d0af821b6c2f1f2762f58355b7ac720fab14b8
Shader 'SsaoImportanceMapShaderRD' SHA256: 0dd69bb6e35fc9d1496aadfdc058c69e3c208260b13a014ac88d0a96bab44ae9
Shader 'SsaoBlurShaderRD' SHA256: c8072bc547923f240dc464d0081acce772d898a5de411073162a563b34462b1f
Shader 'SsaoInterleaveShaderRD' SHA256: 59dc962f27177d1154f17c3493cc4168906abbfd2139b7149d3d1c112deb9f69
Shader 'ScreenSpaceReflectionScaleShaderRD' SHA256: c9cf228f93bb250735a24752d233cea6ab06064ab18a30c92179bed78751f45a
Shader 'ScreenSpaceReflectionShaderRD' SHA256: a7901774071b6797ed0f445afda821ba353f0a4aa132f185c7cde429a295f294
Shader 'ScreenSpaceReflectionFilterShaderRD' SHA256: 5d2238c16b7b5c36edf842a058e4e44d2d14b7e0c7c91920be560c9f70427065
Shader 'SubsurfaceScatteringShaderRD' SHA256: a0ab683811840703e5292beb5fed22fa1ff46bc169010c046e532f2cc122acd3
Shader 'LuminanceReduceShaderRD' SHA256: c4cfad31b3dc5763d7220404fa53f18a5348aa2dac3c043aa3af8766f032e09f
Shader 'RoughnessLimiterShaderRD' SHA256: 08237a4326390263237488d1390d54774dbd313344aac69f9959b74e49df7d65
Shader 'SortShaderRD' SHA256: 12402b8538750efa1b94c938464bcff6da46c1ea0786f03c1d785efbe31e603a
Shader 'BlitShaderRD' SHA256: 908680cc165243e5b15738ba0802f8ad9c7db0e9ac31256f2bb39447837d6bda
JoypadLinux: udev enabled and loaded successfully.
PulseAudio: context other
PulseAudio: context other
PulseAudio: context other
PulseAudio: context ready
PulseAudio: Detecting channels for device: alsa_output.usb-MIYO_MIYO_USB_Audio_2.0-00.analog-stereo
PulseAudio: detected 2 output channels
PulseAudio: audio buffer frames: 512 calculated output latency: 11ms
 
TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
.NET: Initializing module...
ERROR: The host fxr folder does not exist: /usr/share/dotnet/host/fxr
   at: try_get_path_from_dotnet_root (modules/mono/editor/hostfxr_resolver.cpp:323)
ERROR: .NET: One of the dependent libraries is missing. Typically when the `hostfxr`, `hostpolicy` or `coreclr` dynamic libraries are not present in the expected locations.
   at: find_hostfxr (modules/mono/mono_gd/gd_mono.cpp:126)
ERROR: .NET: Failed to load hostfxr
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:397)
CORE API HASH: 3434428501
EDITOR API HASH: 2510568332
EditorSettings: Load OK!
Loaded builtin certs
EditorSettings: Save OK!
Editing project: /home/user/asdasd
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Godot Engine v4.0.beta1.mono.official.4ba934bf3 - https://godotengine.org
EditorSettings: Save OK!
XInput: Refreshing devices.
XInput: No touch devices found.
XR: Clearing primary interface
XR: Removed interfaceNative mobile
XR: Removed interfaceOpenXR
PulseAudio: context terminated
Vulkan devices:
  #0: AMD AMD Radeon RX 6900 XT (RADV NAVI21) - Supported, Discrete
  #1: Unknown llvmpipe (LLVM 14.0.6, 256 bits) - Supported, CPU
Vulkan API 1.2.0 - Using Vulkan Device #0: AMD - AMD Radeon RX 6900 XT (RADV NAVI21)
- Vulkan Variable Rate Shading supported:
  Pipeline fragment shading rate
  Primitive fragment shading rate
  Attachment fragment shading rate, min texel size: (8, 8), max texel size: (8, 8)
- Vulkan multiview supported:
  max view count: 8
  max instances: 2147483647
- Vulkan subgroup:
  size: 64
  stages: STAGE_VERTEX, STAGE_TESSELLATION_CONTROL, STAGE_TESSELLATION_EVALUATION, STAGE_GEOMETRY, STAGE_FRAGMENT, STAGE_COMPUTE
  supported ops: FEATURE_BASIC, FEATURE_VOTE, FEATURE_ARITHMETIC, FEATURE_BALLOT, FEATURE_SHUFFLE, FEATURE_SHUFFLE_RELATIVE, FEATURE_CLUSTERED, FEATURE_QUAD
  quad operations in all stages
Using present mode: VK_PRESENT_MODE_FIFO_KHR
Using present mode: VK_PRESENT_MODE_FIFO_KHR
Orphan StringName: SceneMultiplayer
StringName: 1 unclaimed string names at exit.
Using present mode: VK_PRESENT_MODE_FIFO_KHR
Using "default" pen tablet driver...
Creating VMA small objects pool for memory type index 0
Shader 'CanvasSdfShaderRD' SHA256: 380478f3aaac15c006cb8a1dc97986d51b475fd887abae67ae0d5cf60621e3ef
user@debian:~/a/Godot_v4.0-beta1_mono_linux_x86_64$ Shader 'SkeletonShaderRD' SHA256: af15a5a187628723b670cb7da7f98b3257ad39f06f2600ab172fb3c2bbc165bf
Shader 'ParticlesShaderRD' SHA256: 309501a6b1b7f7613b410373080e0eb6a6438d21652a5b65e39fe21f22dd7ab0
Shader 'ParticlesCopyShaderRD' SHA256: cc0c11ee5d52f9b7efd874f0dd0e7af38ee26cb73e834bac56d81fff0c58efbf
Shader 'CanvasShaderRD' SHA256: 74eb11172aa2b8c74034176cad3a8a527a6fe51f65d27983bae282558e2b4d0c
Shader 'CanvasOcclusionShaderRD' SHA256: 34042d20f84d4d3ec485cb0a7ac6f53664978cd3ec0119ffdabfcec405e97166
Shader 'ClusterRenderShaderRD' SHA256: e006ff5b0d373599d77d9421021c2bbc0d4ee23915106e5db3b7bc4644f2cef3
Shader 'ClusterStoreShaderRD' SHA256: 7eedff5a68ee86cad3a249c2b9e3874577047cc714c678e2dafa4153a391c53c
Shader 'ClusterDebugShaderRD' SHA256: 4fe186460eed812bb08f9e938668aa2ff46d8631f1ba38e25c719a5721a88900
Shader 'SceneForwardClusteredShaderRD' SHA256: be3aebb850c2489abcb08e1796b646ceaab6b841b7314a07bdc0adeebf7db08d
Shader 'ResolveShaderRD' SHA256: e021e03e0be497d9d95d32cb6cd19640c0003250e82bc83f71fe1008d34f38be
Shader 'TaaResolveShaderRD' SHA256: b44d5d1a690144020746c35d5de0a2659f6ce81116b24a608aec1860d5854abf
Shader 'SkyShaderRD' SHA256: 0e719b364851a9ff14bef98c4e6710f2b0dddb3ada41b5aad162d610abbde2df
Shader 'VoxelGiShaderRD' SHA256: ba699ee80a2adb46c6c628802917248f5bd56f36cc1c8d85b1c31bd00599ac91
Shader 'VoxelGiDebugShaderRD' SHA256: 9ee6c519a45a3ee4521958f6be626287760fd601ea58e3fbf266b66ab578b913
Shader 'SdfgiPreprocessShaderRD' SHA256: 6f2c55750a2ca94109101e9e82c7dd7e098f67824cbfb2fd891fcbfe413abca8
Shader 'SdfgiDirectLightShaderRD' SHA256: 3b879c4d0b471d8a8ad009e6c675ff97a564e865d8801c92a963ed9504a299e7
Shader 'SdfgiIntegrateShaderRD' SHA256: dd7195d3fbd1d7e26f716b352b621a734122f349741a0456e70e14f391225f89
Shader 'GiShaderRD' SHA256: 247dcd2a0a691cd07980176aec4426a39664c198e473a38813d1131e7c2605b0
Shader 'SdfgiDebugShaderRD' SHA256: 978874eb6b5d93b6ea76df18ad1c138ddeb21c44e680242832a71e408f2280ce
Shader 'SdfgiDebugProbesShaderRD' SHA256: 991fa0d4e685f905de07b560c3792417409d511292d9f51a9715524c386bc065
Shader 'VolumetricFogShaderRD' SHA256: cb15e7a58aa05c6b99c9504b21870d4c08917ab75fe563f12f6262f27e4d13a8
Shader 'VolumetricFogProcessShaderRD' SHA256: fceedd1747a81b020c1a0b773e958723b1bfa27e97ac9c0c4115b92400fbab1d
Shader 'BokehDofShaderRD' SHA256: 331e59179d95cfc9efa6e9dccf46a0c8d527e8db16eb2633e0d92ddd276f63b7
Shader 'CopyShaderRD' SHA256: e4eab33fbd0199a954938c7030315ebbf1b2693cbe185ae3f4d0ad5e0881613b
Shader 'CopyToFbShaderRD' SHA256: fce85cb8fa8d4523d23ffc4f0897e53f8eb78d4eadf3ad45748083a9529f06fe
Shader 'CubeToDpShaderRD' SHA256: 87c4728e791b9b1a5f58a1839db68648488d8b265fa45f62f86bdd2527d1e4fa
Shader 'CubemapDownsamplerShaderRD' SHA256: 2439e9aeb6e77eb7b8f8099d4d74ed34e37f07a2c8c81820a039638d56f20814
Shader 'CubemapFilterShaderRD' SHA256: 66416950f2d0e2e2dd851a36d2e4441e96f55eaa37573cefa5458e4eac998619
Shader 'CubemapRoughnessShaderRD' SHA256: c10d322391b060f33890576b448e661efeed6aca850bbcd484aa9c2d6001ca3c
Shader 'SpecularMergeShaderRD' SHA256: de3e097b10ec47b14eb0caaa54e41f233abd51873b7d9aacbe5d5247eb8184fe
Shader 'TonemapShaderRD' SHA256: bbf22781ac253b4e8e94abfe871381d30f1bef9aa42cd5b1db5a1c76d670843c
Shader 'VrsShaderRD' SHA256: fa00a7a625100f14218714e9fbc26e5eb29e30bca732e39eac81b4146b1d9c97
Shader 'FsrUpscaleShaderRD' SHA256: f768e3b76fe516ddb3a371bbaaf2bfc32526de8b49679be6dbd12e7e3c674833
Shader 'SsEffectsDownsampleShaderRD' SHA256: 9f73717965720cb39a9120f00526012b8f68740c6f9432e8764381c5567df6e6
Shader 'SsilShaderRD' SHA256: da95634fbb4b716ce8a82b3b3f9d3eec1dbf15fc74cc5078d10566e2c7238a9b
Shader 'SsilImportanceMapShaderRD' SHA256: c29fdf3e8ca48cb3ab781b0c6bd846bb7a16b3d573b48e9462cd5019e72eac36
Shader 'SsilBlurShaderRD' SHA256: 3b4b64f4f821aa6c0aef9758e43325d2ce501d54aa526bb6f9910611f6a87cbb
Shader 'SsilInterleaveShaderRD' SHA256: 5c304084f605aa41d366ef79c1dbcd650d10c648a997ff3e55823502472e7d22
Shader 'SsaoShaderRD' SHA256: 898bc8ac7354280306af62b737d0af821b6c2f1f2762f58355b7ac720fab14b8
Shader 'SsaoImportanceMapShaderRD' SHA256: 0dd69bb6e35fc9d1496aadfdc058c69e3c208260b13a014ac88d0a96bab44ae9
Shader 'SsaoBlurShaderRD' SHA256: c8072bc547923f240dc464d0081acce772d898a5de411073162a563b34462b1f
Shader 'SsaoInterleaveShaderRD' SHA256: 59dc962f27177d1154f17c3493cc4168906abbfd2139b7149d3d1c112deb9f69
Shader 'ScreenSpaceReflectionScaleShaderRD' SHA256: c9cf228f93bb250735a24752d233cea6ab06064ab18a30c92179bed78751f45a
Shader 'ScreenSpaceReflectionShaderRD' SHA256: a7901774071b6797ed0f445afda821ba353f0a4aa132f185c7cde429a295f294
Shader 'ScreenSpaceReflectionFilterShaderRD' SHA256: 5d2238c16b7b5c36edf842a058e4e44d2d14b7e0c7c91920be560c9f70427065
Shader 'SubsurfaceScatteringShaderRD' SHA256: a0ab683811840703e5292beb5fed22fa1ff46bc169010c046e532f2cc122acd3
Shader 'LuminanceReduceShaderRD' SHA256: c4cfad31b3dc5763d7220404fa53f18a5348aa2dac3c043aa3af8766f032e09f
Shader 'RoughnessLimiterShaderRD' SHA256: 08237a4326390263237488d1390d54774dbd313344aac69f9959b74e49df7d65
Shader 'SortShaderRD' SHA256: 12402b8538750efa1b94c938464bcff6da46c1ea0786f03c1d785efbe31e603a
Shader 'BlitShaderRD' SHA256: 908680cc165243e5b15738ba0802f8ad9c7db0e9ac31256f2bb39447837d6bda
JoypadLinux: udev enabled and loaded successfully.
PulseAudio: context other
PulseAudio: context other
PulseAudio: context other
PulseAudio: context ready
PulseAudio: Detecting channels for device: alsa_output.usb-MIYO_MIYO_USB_Audio_2.0-00.analog-stereo
PulseAudio: detected 2 output channels
PulseAudio: audio buffer frames: 512 calculated output latency: 11ms
 
TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
.NET: Initializing module...
ERROR: The host fxr folder does not exist: /usr/share/dotnet/host/fxr
   at: try_get_path_from_dotnet_root (modules/mono/editor/hostfxr_resolver.cpp:323)
ERROR: .NET: One of the dependent libraries is missing. Typically when the `hostfxr`, `hostpolicy` or `coreclr` dynamic libraries are not present in the expected locations.
   at: find_hostfxr (modules/mono/mono_gd/gd_mono.cpp:126)
ERROR: .NET: Failed to load hostfxr
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:397)
CORE API HASH: 3434428501
EDITOR API HASH: 2510568332
Class 'EditorPropertyNameProcessor' is not exposed, skipping.
Class 'FramebufferCacheRD' is not exposed, skipping.
Class 'GDScriptEditorTranslationParserPlugin' is not exposed, skipping.
Class 'GDScriptNativeClass' is not exposed, skipping.
Class 'GodotPhysicsDirectSpaceState2D' is not exposed, skipping.
Class 'GodotPhysicsDirectSpaceState3D' is not exposed, skipping.
Class 'GodotPhysicsServer2D' is not exposed, skipping.
Class 'GodotPhysicsServer3D' is not exposed, skipping.
Class 'IPUnix' is not exposed, skipping.
Class 'ManagedCallableMiddleman' is not exposed, skipping.
Class 'MovieWriterMJPEG' is not exposed, skipping.
Class 'MovieWriterPNGWAV' is not exposed, skipping.
Class 'ResourceImporterMP3' is not exposed, skipping.
Class 'ResourceImporterOggVorbis' is not exposed, skipping.
Class 'SceneCacheInterface' is not exposed, skipping.
Class 'SceneRPCInterface' is not exposed, skipping.
Class 'SceneReplicationInterface' is not exposed, skipping.
Class 'UniformSetCacheRD' is not exposed, skipping.
EditorSettings: Load OK!
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:75)
WARNING: FBX file import is enabled in the project settings, but no FBX2glTF path is configured in the editor settings. FBX files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:99)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta1.mono.official (4ba934bf3d1e697d8f332b5e8cfd694cdf49a7ba)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3daf0) [0x7fc3ed306af0] (??:0)
-- END OF BACKTRACE --
================================================================


baryluk avatar Sep 16 '22 01:09 baryluk

Godot also crashed on me upon project creation, mine is Arch Linux, x86_64 version. NVIDIA GPU.

dysrakescence avatar Sep 16 '22 03:09 dysrakescence

I have the same issue on macOS 12.6 on Apple Silicon.

Whether trying to open an old project, or open a new one, Godot crashes immediately when trying to open a project.

OscarCookeAbbott avatar Sep 16 '22 03:09 OscarCookeAbbott

I solved this by installing the .NET 6 packages from Microsoft
For me under Debian but they seem to maintain packages for most major distros

https://learn.microsoft.com/en-us/dotnet/core/install/linux

decryptedchaos avatar Sep 17 '22 15:09 decryptedchaos

If you're using a .NET SDK packaged by your distro instead of Microsoft's, make sure that:

  • It's .NET 6.0
  • You have the package containing /usr/share/dotnet/host/fxr installed

akien-mga avatar Sep 18 '22 07:09 akien-mga

I come here from this issue and fulfill the requirements from akien.

image

ShalokShalom avatar Sep 18 '22 09:09 ShalokShalom

Ran into this as well (because Ubuntu keeps removing dotnet for some reason).
Would it be possible to provide a message to the user to indicate they are missing dotnet

Extra info for someone running into this while convinced dotnet is installed:
On Ubuntu, even if dotnet is not properly installed you are able to run dotnet without arguments
and it will give proper output. However when you run dotnet --version you will get a message
indicating no runtime is installed.

On Ubuntu I have to run sudo apt install aspnetcore-runtime-6.0=6.0.8-1 dotnet-apphost-pack-6.0=6.0.8-1 dotnet-host=6.0.8-1 dotnet-hostfxr-6.0=6.0.8-1 dotnet-runtime-6.0=6.0.8-1 dotnet-sdk-6.0=6.0.400-1 dotnet-targeting-pack-6.0=6.0.8-1 every two days or so. (This broke last month or so)

timothyparez avatar Sep 18 '22 13:09 timothyparez

I already have dotnet 6.0.4 installed, which dotnet info confirms. I'm on macOS though so maybe the cause is different, even though the symptoms are the same?

OscarCookeAbbott avatar Sep 18 '22 13:09 OscarCookeAbbott

I also quite dont understand, why my error is related to this issue, when I have installed fxr.

Is it a different issue, or is fxr not the causing factor?

ShalokShalom avatar Sep 18 '22 16:09 ShalokShalom

Ran into this as well (because Ubuntu keeps removing dotnet for some reason).
Would it be possible to provide a message to the user to indicate they are missing dotnet

In the future, this won't be a crash. It simply will result in running the editor as if C# support was disabled, until the Sdk can be found.

neikeq avatar Sep 18 '22 19:09 neikeq

I come here from this issue and fulfill the requirements from akien.

image

Do you still get an error? In which case, can you paste it here? EDIT: Yours may be a different issue, in which case we should re-open your original report.

neikeq avatar Sep 18 '22 19:09 neikeq

For anyone experiencing this issue, please include in your report the output from dotnet --info. If Godot is detecting a dotnet from a different location than the one that command uses, include that information as well.

Also include the output from ls -lR $DOTNET_ROOT/host. Replace $DOTNET_ROOT accordingly, you can look for the location in the Godot error, e.g.: ls -lR /usr/share/dotnet/host.

neikeq avatar Sep 18 '22 19:09 neikeq

Regarding the crash, I have some changes pending a PR which fix the crashes I experienced when failing to load the .NET runtime. But it seems more important for this issue to focus on why the runtime cannot be found in the first place, rather than the symptoms of it.

neikeq avatar Sep 18 '22 20:09 neikeq

I come here from this issue and fulfill the requirements from akien. image

Do you still get an error? In which case, can you paste it here? EDIT: Yours may be a different issue, in which case we should re-open your original report.

I seem to be the only Arch user on this thread, so maybe its related to that. I post you the package description: https://github.com/archlinux/svntogit-community/blob/packages/dotnet-core/trunk/PKGBUILD

As you can see, its pretty involved, and I like to point out, that you need the binary, in order to build the source (!)

ShalokShalom avatar Sep 18 '22 20:09 ShalokShalom

Here are my infos:

dotnet --info
.NET SDK (gemäß "global.json"):
Version:   6.0.109
Commit:    58a93139d8

Laufzeitumgebung:
OS Name:     garuda
OS Version:
OS Platform: Linux
RID:         arch-x64
Base Path:   /usr/share/dotnet/sdk/6.0.109/

global.json file:
Not found

Host:
Version:      6.0.9
Architecture: x64
Commit:       163a63591c

.NET SDKs installed:
6.0.109 [/usr/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.NETCore.App 6.0.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info

Replace $DOTNET_ROOT accordingly, you can look for the location in the Godot error, e.g.: ls -lR /usr/share/dotnet/host.

I am not really sure, what you mean. There are three different results, when I run this command. Which is the "root folder" you mean?


ls -lR /usr/share/dotnet/host
drwxr-xr-x - root 15 Sep 14:37  fxr

/usr/share/dotnet/host/fxr:
drwxr-xr-x - root 15 Sep 14:37  6.0.9

/usr/share/dotnet/host/fxr/6.0.9:
.rwxr-xr-x 350k root 14 Sep 09:19  libhostfxr.so

ShalokShalom avatar Sep 18 '22 20:09 ShalokShalom

user@debian:~$ dotnet --info
bash: dotnet: command not found
user@debian:~$ dpkg -l | grep dotnet
user@debian:~$ ls  /usr/share/dotnet/
user@debian:~$

baryluk avatar Sep 18 '22 22:09 baryluk

To clarify, I consider this issue to be about OP's error:

ERROR: The host fxr folder does not exist: /usr/share/dotnet/host/fxr
   at: try_get_path_from_dotnet_root (modules/mono/editor/hostfxr_resolver.cpp:323)

If anyone is reporting here for a different error, then please open a new issue with those details.

neikeq avatar Sep 18 '22 23:09 neikeq

@baryluk Do you have the .NET 6 Sdk installed? If you can't get it through your package manager, you can download the tar file from here: https://dotnet.microsoft.com/en-us/download/dotnet/6.0 (choose your architecture in the Binaries column). You can untar this into a folder, and then tell Godot where to find it:

  • Either append it to $PATH
  • Or set it as $DOTNET_ROOT
  • Or create the file /etc/dotnet/install_location where the first line should be the location

neikeq avatar Sep 19 '22 20:09 neikeq

@neikeq I do not have .NET 6 Sdk installed. I do have many mono packages installed, but not MS donet.

I can install it of course on Debian easily.

Could you update https://godotengine.org/article/dev-snapshot-godot-4-0-beta-1#downloads to mention that this is a required dependency? I assumed the .NET 6 build has bundled .NET 6 Sdk in the zip filel, so I didn't think of installing anything on my system.

baryluk avatar Sep 21 '22 20:09 baryluk

@neikeq After installing .NET 6 SDK using Microsoft repos for Debian bullseye (11) on my Debian unstable, Godot 4.0 beta 1 works.

user@debian:~$ dpkg -l | grep dotnet
ii  dotnet-apphost-pack-6.0                                     6.0.9-1                                   amd64        Microsoft.NETCore.App.Host 6.0.9
ii  dotnet-host                                                 6.0.9-1                                   amd64        Microsoft .NET Host - 6.0.9
ii  dotnet-hostfxr-6.0                                          6.0.9-1                                   amd64        Microsoft .NET Host FX Resolver - 6.0.9
ii  dotnet-runtime-6.0                                          6.0.9-1                                   amd64        Microsoft.NETCore.App.Runtime 6.0.9
ii  dotnet-runtime-deps-6.0                                     6.0.9-1                                   amd64        dotnet-runtime-deps-debian 6.0.9
ii  dotnet-sdk-6.0                                              6.0.401-1                                 amd64        Microsoft .NET SDK 6.0.401
ii  dotnet-targeting-pack-6.0                                   6.0.9-1                                   amd64        Microsoft.NETCore.App.Ref 6.0.9
user@debian:~$ 


user@debian:~$ dotnet --version
6.0.401
user@debian:~$ dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.401
 Commit:    0906eae6f8

Runtime Environment:
 OS Name:     debian
 OS Version:  
 OS Platform: Linux
 RID:         debian-x64
 Base Path:   /usr/share/dotnet/sdk/6.0.401/

global.json file:
  Not found

Host:
  Version:      6.0.9
  Architecture: x64
  Commit:       163a63591c

.NET SDKs installed:
  6.0.401 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info
user@debian:~$ 
user@debian:~/Downloads/Godot_v4.0-beta1_mono_linux_x86_64$  
WARNING: Property not found: dotnet/project/assembly_name
     at: _get (core/config/project_settings.cpp:324)
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:75)
WARNING: FBX file import is enabled in the project settings, but no FBX2glTF path is configured in the editor settings. FBX files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:99)

but UI and everything works.

I also loaded examples and it looks good:

image

So, it looks like more of an issue with install instructions and error message issue, than actual bug.

baryluk avatar Sep 21 '22 20:09 baryluk

It does include the following remark (it can be easily missed tho):

The Godot editor requires the .NET 6.0 SDK to be installed in order to use C#.

The plan is for the editor to work normally when the .NET Sdk is not installed. It simply won't be able to run any C# code, and it will communicate this to the user in some way. It's just not completed yet.

neikeq avatar Sep 21 '22 22:09 neikeq

I'm closing this, as it works after installing the Sdk.

neikeq avatar Sep 21 '22 22:09 neikeq

It does include the following remark (it can be easily missed tho):

The Godot editor requires the .NET 6.0 SDK to be installed in order to use C#.

Oof. I see it now. It is in a completely different section.

Would be nice to make it more visible directly in a download section.

baryluk avatar Sep 21 '22 22:09 baryluk

Also, the crash on startup with no useful error message is far from optimal.

baryluk avatar Sep 21 '22 22:09 baryluk

Also, the crash on startup with no useful error message is far from optimal.

Yes, as I said above, this is on the roadmap for 4.0. It's just not completed yet.

neikeq avatar Sep 22 '22 02:09 neikeq