Need to restart editor to see newly created property in inspector (redot-cpp)

Open
#1,340 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp, godot
Domain
devtools

Research direction

Start by tracing how the editor discovers and refreshes properties exposed through redot-cpp bindings, then inspect the inspector's refresh or class-reload entry points. Reproduce the reported sequence: compile a class, add and bind a property, and compile again while the editor remains open. Done when the new property appears in the inspector without restarting the editor.

Written by the indexing model from the issue text.

Description

bug needs testing topic:gdextension usability
Tested versions
  • Reproducible in 26.2.stable
System information

Redot v26.2.stable - Devuan GNU/Linux 6 (excalibur) 6 on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - integrated Intel(R) UHD Graphics 620 (KBL GT2) - Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 threads) - 7.64 GiB memory

Issue description

New property created using redot-cpp doesn't show in inspector unless the editor is restarted.

Steps to reproduce
  1. Open editor and your IDE
  2. Create one class and do necessary binding to Redot. Compile.
  3. Now give that class a new property and do necessary binding. Compile.
  4. The new property won't be shown in inspector unless the editor get restarted.
Minimal reproduction project (MRP)

N/A

Dominant language
C++
Stars
6.1k
Forks
337
Avg merge
4d 1h
Merged PRs (30d)
54

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Redot-Engine/redot-engine

All issues in Redot-Engine/redot-engine

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.