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

Not adding the signal method in C# script in visual studio 2022 editor #91173

Closed
Arman-Espiar opened this issue Apr 25, 2024 · 1 comment
Closed

Comments

@Arman-Espiar
Copy link

Arman-Espiar commented Apr 25, 2024

Tested versions

v4.2.2.stable.mono.offitial[15073af]

System information

windows 10 - visual studio 2022 - godot v4.2.2 mono

Issue description

I proceed according to this tutorial. When I add the pressed() signal to sprite2d, no method or code is added to the script.

Steps to reproduce

step by step with this tutorial

Minimal reproduction project (MRP)

; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=5

[application]

config/name="Godo Mono Game"
run/main_scene="res://node_2d.tscn"
config/features=PackedStringArray("4.2", "C#", "Forward Plus")
config/icon="res://icon.svg"

[dotnet]

project/assembly_name="Godo Mono Game"

@paulloz
Copy link
Member

paulloz commented Apr 26, 2024

Hello, and thank you for the report. I'm consolidating this in #41283, since this is the same issue.
For C# specifically: this generation never worked reliably, so it was recently removed for 4.3. The editor's UI shows a message saying the code won't be generated.

@paulloz paulloz closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants