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

【Query】Request failed. Code: 404, URL: file:///F:/ChessCard/Client/Assets/StreamingAssets/yaorao\MainHotfixPackage\5149d3b293e51f38c7636f195ec07a27.bundle #47

Open
hejiang123 opened this issue Oct 26, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@hejiang123
Copy link

I have two resource packages, DefaultPackage and MainHotfixPackage, set to the APP and DLC respectively When building resources, copy the resources of the Default Package to the StreamingAssets directory, but do not copy the MainHotfixPackage. When deploying to CDN and running games in host mode, there will be an error message in the check process called 'Query' Request failed Code: 404, URL: file:///F:/ChessCard/Client/Assets/StreamingAssets/yaorao \MainHotfixPackage \ 5149d3b293e51f38c7636f195ec07a27.bundle. Do I need to copy all resources to StreamingAssets here? Is there any other setting to solve it?

@hejiang123
Copy link
Author

我有两个资源包DefaultPackage和MainHotfixPackage分别设置到APP和DLC.构建资源时把DefaultPackage的资源拷贝到StreamingAssets目录MainHotfixPackage不拷贝。在部署到CDN用host模式运行游戏时在check流程会报错【Query】Request failed. Code: 404, URL: file:///F:/ChessCard/Client/Assets/StreamingAssets/yaorao\MainHotfixPackage\5149d3b293e51f38c7636f195ec07a27.bundle。这里是需要什么解决方案或设置?

@michael811125
Copy link
Owner

在读取资源时, 有先初始好 package 吗? 另外 burlconfig.conf 有确实设置?

@michael811125
Copy link
Owner

hotfix 是走独立 package 初始流程

@michael811125 michael811125 added the help wanted Extra attention is needed label Oct 26, 2024
@michael811125
Copy link
Owner

主要是内置找不到,不过如果你有初始 package 的话,就可以走下载流程了。

@michael811125
Copy link
Owner

我有两个资源包DefaultPackage和MainHotfixPackage分别设置到APP和DLC.构建资源时把DefaultPackage的资源拷贝到StreamingAssets目录MainHotfixPackage不拷贝。在部署到CDN用host模式运行游戏时在check流程会报错【Query】Request failed. Code: 404, URL: file:///F:/ChessCard/Client/Assets/StreamingAssets/yaorao\MainHotfixPackage\5149d3b293e51f38c7636f195ec07a27.bundle。这里是需要什么解决方案或设置?

忘记提一个,另外这个也是正常讯息打印,因为会尝试从内置读取资源文件 (轮询优先顺序 Sandbox -> StreamingAssets -> 都查找不到时就会走 Downalod),所以如果从内置查找不到文件时,是这个打印没错。

还有你也可以先确保你的流程有没有误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants