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

Resource.get_property_list() returns different values depending on being run as standalone or editor. #99722

Open
jefvaia opened this issue Nov 26, 2024 · 1 comment

Comments

@jefvaia
Copy link

jefvaia commented Nov 26, 2024

Tested versions

Tested in Godot 4.3 Stable (with Steamworks recompile and all optional build features for windows. Also, mono is enabled but not used)

System information

Windows 10 (Ryzen 5 5600X, Nvidia RTX 4060, 32GB RAM, SSD), Vulkan, Driver version 560.94

Issue description

For networking purposes, I am reading all the important data from a custom resource(non-standard values and script name/hint). During testing, I came across the issue that exported builds of the project, with out without debug, lack certain properties that I unfortunately need.
Things like the types it inherits from, and specifically the scripts I made it inherits from.

Steps to reproduce

Create a custom resource and give it a class name. It doesn't matter if it's a whole inheritance chain.
Get the properties of the resource through any script.
Export the project and it will lack some information.

Minimal reproduction project (MRP)

Godot Resource Properties Bug.zip

@jefvaia
Copy link
Author

jefvaia commented Nov 27, 2024

I also tested it with Godot 4.1 Stable. The bug still appears.

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