-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Don't duplicate custom type scripts #100177
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, I just ran into this issue, so I decided to test out this commit and it works perfectly. I don't know much about C++ or the Godot source code or code style, though, but it looks good enough to me.
I tried this fix out since I was hitting #100154 in a personal project but it resulted in Fwiw, I have nested custom resources so perhaps that's the issue: a custom resource |
Do you have the same issue in dev5? It might be another bug. |
If I launch my project through the editor on dev4/5/6 I hit #100154. However if I run the project directly without the editor then I do still hit the duplicate bug (on dev4/5/6). So perhaps it is a different (but more severe) bug? |
Oops. Didn't see your PR when I did mine: #101001. Mine seems to be forward-compatible with additional scripts as metadata though. |
@sfreed141 Can you test my fix #101001? It seems to solve #100154 with the latest builds. |
@adamscott yes, your PR does fix #100154, however deep copying a resource is still broken unfortunately :( |
Fixes #100154