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
Godot version:
Vulkan master (8c73e81) OS/device including version:
Arch Linux Issue description:
Some methods like VisualServer, CameraEffects or Texture2D changed so the generation of bindings (mono glue / C-API) fails now when using Vulkan master for compiling with Mono on Linux.
[user@archlinuxgit]" ./godot_compile > godot_output.txtERROR: Method definition provides more arguments than the method actually has 'VisualServer::environment_set_ssao'.at: bind_methodfi (core/class_db.cpp:1264)ERROR: Condition "getter->return_type.cname != setter->arguments.back()->get(.type.cname" is true. returned: ERR_BUGat: _generate_cs_property (modules/mono/editor/bindings_generator.cpp:1427)ERROR: Failed to generate property 'override_exposure_enable' for class 'CameraEffects'.at: _generate_cs_type (modules/mono/editor/bindings_generator.cpp:1297)ERROR: Generation of the Core API C project failed.at: generate_cs_api (modules/mono/editor/bindings_generator.cpp:1115)ERROR: --generate-mono-glue: Failed to generate the C-API.at: handle_cmdline_args (modules/mono/editor/bindings_generator.cpp:3181)scons: *** [bin/GodotSharp/Api/Debug/GodotSharp.dll] RuntimeError : 'msbuild' exited with error code: 1Traceback (most recent call last):File "/run/media/user/user/git/godot/modules/mono/build_scripts/solution_builder.py", line 150, in run_commandsubprocess.check_call(args, env=env_override)File "/usr/lib/python3.8/subprocess.py", line 364, in check_callraise CalledProcessError(retcode, cmd)subprocess. CalledProcessError: Command '['/usr/bin/msbuild', '/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln', '/p:Configuration=Debug', '/p:NoWarn=1591']' returned non-zero exit status 1.During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/usr/lib/python3.8/site-packages/SCons/Action.py", line 1209, in executeresult = self.execfunction(target=target, source=rsources, env=env)File "/run/media/user/user/git/godot/modules/mono/build_scripts/api_solution_build.py", line 20, in build_api_solutionbuild_solution(env, solution_path, build_config, extra_msbuild_args=extra_msbuild_args)File "/run/media/user/user/git/godot/modules/mono/build_scripts/solution_builder.py", line 214, in build_solutionrun_command(msbuild_path, msbuild_args, env_override=msbuild_env, name='msbuild')File "/run/media/user/user/git/godot/modules/mono/build_scripts/solution_builder.py", line 152, in run_commandraise RuntimeError("%s' exited with error code:%s" % (name, e.returncode))RuntimeError: 'msbuild' exited with error code: 1Generated/GodotObjects/Camera.cs(115.16): error CS0246: The type or namespace name 'CameraEffects' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/Camera.cs(701.32): error CS0246: The type or namespace name 'CameraEffects' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/Camera.cs(711.16): error CS0246: The type or namespace name 'CameraEffects' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/ARVRPositionalTracker.cs(68.39): warning CS0108: 'ARVRPositionalTracker.GetType()' hides inherited member 'object. GetType()'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj][...]Generated/GodotObjects/CPUParticles2D.cs(1604.34): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/CPUParticles2D.cs(1614.16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/LightOccluder2D.cs(36.20): warning CS0108: 'LightOccluder2D.LightMask' hides inherited member 'CanvasItem.LightMask'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]The creation of the project "/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj" is complete (default targets) -- ERROR.The creation of the project "/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" is complete (default targets) -- ERROR.The build process failed."/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (default target) (1) ->"/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj" (default target) (2) ->(CoreCompile Target) -> Generated/GodotObjects/ARVRPositionalTracker.cs(68.39): warning CS0108: 'ARVRPositionalTracker.GetType()' hides inherited member 'object. GetType()'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/PathFollow2D.cs(94.21): warning CS0108: 'PathFollow2D.Rotate' hides inherited member 'Node2D.Rotate(float)'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/ArrayMesh.cs(144.36): warning CS0108: 'ArrayMesh.BlendShapeMode' hides inherited member 'Mesh.BlendShapeMode'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/ArrayMesh.cs(40.21): warning CS0108: 'ArrayMesh.ArrayFormat' hides inherited member 'Mesh.ArrayFormat'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/ArrayMesh.cs(80.21): warning CS0108: 'ArrayMesh.ArrayType' hides inherited member 'Mesh.ArrayType'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/CPUParticles.cs(15.21): warning CS0108: 'CPUParticles.Flags' hides inherited member 'GeometryInstance.Flags'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/LightOccluder2D.cs(36.20): warning CS0108: 'LightOccluder2D.LightMask' hides inherited member 'CanvasItem.LightMask'. Use the new keyword if hiding was intended. [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]"/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (default target) (1) ->"/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj" (default target) (2) ->(CoreCompile Target) -> Generated/GodotObjects/Camera.cs(115.16): error CS0246: The type or namespace name 'CameraEffects' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/Camera.cs(701.32): error CS0246: The type or namespace name 'CameraEffects' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/Camera.cs(711.16): error CS0246: The type or namespace name 'CameraEffects' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/AnimatedTexture.cs(14.44): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/AnimatedTexture.cs(60.16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/AnimatedTexture.cs(92.16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/AnimatedTexture.cs(124.16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/AnimatedTexture.cs(156.16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/AnimatedTexture.cs(188.16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj][...]Generated/GodotObjects/CPUParticles2D.cs(1594,16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/CPUParticles2D.cs(1604.34): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]Generated/GodotObjects/CPUParticles2D.cs(1614.16): error CS0246: The type or namespace name 'Texture2D' could not be found (are you missing a using directive or an assembly reference?) [/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp/GodotSharp.csproj]7 Warning(s)277 ErrorsElapsed time 00:00:03.99scons: building terminated because of errors.[user@archlinux godot]$
The text was updated successfully, but these errors were encountered:
IIRC I was told that when reduz was making changes for Vulkan he didn't bother keeping Mono compatibility. Therefore, I am assuming that some of these problems will be difficult to fix...
Godot version:
Vulkan master (8c73e81)
OS/device including version:
Arch Linux
Issue description:
Some methods like VisualServer, CameraEffects or Texture2D changed so the generation of bindings (mono glue / C-API) fails now when using Vulkan master for compiling with Mono on Linux.
Steps to reproduce:
Commands used:
Output (only errors):
The text was updated successfully, but these errors were encountered: