-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
ProjectSettings.load_resource_pack
replaces res:// completely
#48563
Comments
For reference, here are the contents of
Contents of
|
Related issue: #19815. According to that it's an editor-only problem which isn't really a bug. In such a case in-editor behavior needs to be documented. |
I' working in the software field for a while now and not too long ago I read about an interesting view, that the classification "bug or not" more often than not is irrelevant. I felt this was quite a statement, having in mind all the office discussions over something being a bug or not. But they continued to explain that it doesn't matter if you call it "bug" or "feature" or "change request". Fact is: there is a Me filing an issue does not mean I want anyone to fix it immediately, there is no reason to feel pushed (this is the only reason I can think of someone defends an issue "not really being a bug"). But I do want this problem to be documented in case someone actually got the interest and skills to fix it. Might be even my future self, who knows? Sorry, especially to @kleonc for the tiny rant here. :) It just happens to most of the issues I keep track on here in the godotengine repository... Back to the actual topic: It is an editor-only problem. It's very counter intuitive for the user that the game, run from the editor, behaves differently from an exported game. There is an obvious workaround though: You need to extract the to-be-loaded .pck or .zip into your project. However, it makes it unnecessary hard to develop and debug something like a mod-loader for a moddable game. Same problem for developers that want to provide DLCs or incremental updates and need to develop respective updating algorithms. |
To make things clear (yeah, maybe I wasn't clear enough in my previous comment): all I meant was that according to the linked issue/discussion "it's not really a bug" because it's caused by design. So it's not a bug in "doesn't work as designed" sense but it's rather a bug in "by design" sense. So sure, you can still call it a bug as it's indeed a kinda vague term but I think I just usually use it in "doesn't work as designed" sense, that's all. And by any means I didn't say "document it and close this issue ASAP!", just said that current behavior needs to be documented. No problem with the rant, didn't get hit hard. :) Ending this offtopic. |
I understand, thank you for clarification. I think documenting about this issue would help a lot already, because in my case it lead to strange errors and it wasn't obvious at all what was going on. Another thing which I think would help even more, if the engine would print an error in case you try to use
|
I adapted the MRP above to Godot 4.x: |
can i suggest that if this doesnt get addressed in time for 4.4, we could have a note in the docs saying that this function is broken, and that a fix for it will come soon? just so that others dont potentially get screwed over by thinking this function works |
Godot version:
3.3 stable
OS/device including version:
Ubuntu 18.04
Issue description:
I tried to load a resource pack:
as described in the documentation
After loading the resource pack, it is not possible to access the resources of the original game. It looks like the loaded resource pack replaces
res://
completely.Steps to reproduce:
Expected:
Main.tscn
should still be listed as part of res:// even after usingload_resource_pack
Observed:
Main.tscn
is missing inres://
Minimal reproduction project:
load_resource_pack.zip
This is the
Main.gd
script of the minimal project:The text was updated successfully, but these errors were encountered: