Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Script/path is not saved when saving a GDScript object as a sub resource with ResourceSaver

Aperta
#952 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
game-dev

Direzione di ricerca

Start by opening the linked minimal reproduction project and following its steps: save a resource with ResourceSaver, then load it back and inspect the custom-class property. Compare the saved and loaded resource to identify where the property fails to load; done means the custom-class property loads correctly in the reproduction.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

4.3 bug confirmed topic:dotnet tracked:godot
Tested versions

v4.3.stable.official [a06b0a021]

System information

Redot v4.3.stable - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:52 +0000 - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 7700 XT (RADV NAVI32) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads)

Issue description

If a resource that has export variables with custom class types those properties are not loaded properly with load() (Previously saved with ResourceSaver). Seems to be related to https://github.com/godotengine/godot/issues/32856

Steps to reproduce
  • Make 2 custom resources
  • Have one of them have a variable with the other one as its type
  • Save the first resource
  • Load it back
  • See that the custom class property didn't load correctly
Minimal reproduction project (MRP)

resourcesaverbugreproduction.zip

Lingua principale
C++
Stelle
6.1k
Fork
337
Merge medio
1g 2h
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Redot-Engine/redot-engine

Tutte le issue di Redot-Engine/redot-engine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.