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

Godot Editor Not Updating Exported Properties From C# #97296

Closed
zachbugay opened this issue Sep 21, 2024 · 3 comments
Closed

Godot Editor Not Updating Exported Properties From C# #97296

zachbugay opened this issue Sep 21, 2024 · 3 comments

Comments

@zachbugay
Copy link

Tested versions

  • Reproducible in: v4.4.dev2.mono.official [97ef3c8] and NOT reproducible in v4.3.stable.mono.official [77dcf97]

System information

Godot v4.4.dev2.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 32.0.15.6109) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

Issue description

Using the latest v4.4.dev2.mono release, the Godot Editor Inspector is not updating after Exports have been added to a C# file, and the Godot Editor Builds the Project.

Rather, the whole Godot Editor needs to be closed, and relaunch for the properties to be seen.

image
image

Steps to reproduce

  1. Launch Godot_v4.4-dev2_mono_win64.exe
  2. Create a new project, named anything you want stored anywhere.
  3. Editor => Editor Settings =>Dotnet => Editor => Visual Studio
    1. External Editor Visual Studio
  4. Click "3D Scene" under Create Root Node
  5. Click Attach a new or existing script to the selected node.
  6. Select Language: C#
  7. Template Node: Default
  8. Save the scene
	[Export]
	public int Foo { get; set; }
  1. In the Godot Editor, click "Build Project"

Minimal reproduction project (MRP)

https://github.com/zachbugay/godot-ui-not-updating-4.4-dev2

@raulsntos
Copy link
Member

This sounds similar to #97060. And it looks like that issue may be the same as #96828 which was fixed by #74830.

@Hilderin
Copy link
Contributor

I was able to reproduce with 4.4 dev 2 but the issue is now fixed in master. I agree with raulsntos, it's most certainly related to #96828

I'm closing the issue since it's now working in master.

@AThousandShips AThousandShips added this to the 4.4 milestone Sep 26, 2024
@VVander
Copy link

VVander commented Jan 27, 2025

I just had this happen to me in v4.3.stable.mono.official, but after reloading the project, it works again. I can change the exports, rebuild, and the inspector is updated appropriately now. Still not sure what caused the original issue...

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

5 participants