-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
In Godot 3.3.2, scripts cannot use rename() to change folder names #48254
Comments
Translation via google translate: |
I can't reproduce the issue, renaming folders works fine here on Linux: simplescreenrecorder-2021-04-28_10.03.43.mp4Please give more details. What OS are you using? What are you doing exactly? |
能提供一个可以复现这个问题的Godot工程(打成压缩包再拖进评论框就行)吗?还有,最好提供一些其它的信息,比如你的操作系统之类的(按照模板来填,查查你的问题上面那几个小标题什么意思)。另外,这个社区一般用英语交流,你可以先自己用谷歌翻译转成英语,这样也省得麻烦别人特地去转。 Can you provide a minimal reproduction project? And it's better to give more details about the issue, e.g. the OS you're using. In addition, English is mostly used for communication in this community. I suggest you translate your words into English by Google Translate first, saving some trouble for others. |
Can't reproduce on windows 7 64 bit either. Using an administrative account though. Godot 3.3 64bit(didn't try the mono version). |
@yxl1779556215 Can you still reproduce this bug? You can also test this in Godot 3.3.1rc2 and see if you can reproduce the bug there. |
Sorry, I don't know much about GitHub. I am using windows10 and godot version 3.3.2. This error still exists, please help me, thank you. |
What the docs say about this method:
It can only be used to change files' name, so what you're experiencing is intended. |
Thank you for your answer, but in my version 3.2.3, this behavior is feasible. |
@yxl1779556215 Just did some testing. Can confirm that |
Thank you very much for your reply. I don't know how the title got there. I don't know much about it. Is there a way to rename folders using scripts in Version 3.3.2? |
@yxl1779556215 Sorry I couldn't think of a straightforward way to do it. If this change is not intended, I'll try to look into the issue. |
The behaviour change of |
HMM... I don't understand it, but it looks like that's where the problem is. So, what do I need to learn if I want to get involved in developing Godot? |
@yxl1779556215 You could check out this page first https://docs.godotengine.org/en/stable/community/contributing/ways_to_contribute.html. And this specific issue will be handled by @KoBeWi. |
Thank you very much! |
Even if an issue has someone assigned, you are free to make a PR, because there is no guarantee that it will be handled anytime soon. |
Godot version:
3.3.2
OS/device including version:
windows10
Issue description:
Steps to reproduce:
Minimal reproduction project:
Godot 3.3中无法使用rename对文件夹进行重命名,但是对文件可以。对文件夹进行重命名时,系统报错为:file_exists()所选文件不存在。本人推测是将文件夹作为文件进行判断,我对Godot进行卸载重装,依然是这样。在3.2.3版本中没有出现这个错误
The text was updated successfully, but these errors were encountered: