Skip to content

[Bug] Static sites can’t create directories, and uploading Unity packages fails to retain the correct .unitypackage extension. #8813

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

Open
9a6c opened this issue May 25, 2025 · 7 comments
Assignees
Milestone

Comments

@9a6c
Copy link

9a6c commented May 25, 2025

Contact Information

No response

1Panel Version

v2.0.0-beta.3

Problem Description

上传unity包文件到静态网站。怎么是.tmp文件?重命名后还是已.tmp结尾。
我又试了下php运行环境,这里上传是正常的。

静态网站怎么无法创建目录?
Image

Steps to Reproduce

使用Unity导出一个unitypackage,上传到网站。

The expected correct result

No response

Related log output

Additional Information

No response

@9a6c 9a6c changed the title [Bug] 上传unity包文件 [Bug] 静态网站,无法创建目录,上传unity包文件无法使用正确的后缀unitypackage May 25, 2025
@wanghe-fit2cloud
Copy link
Member

使用 Unity 导出一个 unitypackage,上传到网站。

麻烦提供一下压缩后的文件,方便我们在本地环境复现。

@9a6c
Copy link
Author

9a6c commented May 25, 2025

可以使用以下仓库的unitypackage进行测试
https://github.com/psygames/UnityWebSocket/releases
https://github.com/yasirkula/UnityIngameDebugConsole/releases

@wanghe-fit2cloud wanghe-fit2cloud changed the title [Bug] 静态网站,无法创建目录,上传unity包文件无法使用正确的后缀unitypackage [Bug] Static sites can’t create directories, and uploading Unity packages fails to retain the correct .unitypackage extension. May 25, 2025
@zhengkunwang223
Copy link
Member

无法创建目录是不是因为切换到了子节点?

@wanghe-fit2cloud
Copy link
Member

wanghe-fit2cloud commented May 25, 2025

收到,先删除你的环境信息了。

@zhengkunwang223
Copy link
Member

开启防篡改之后文件创建 移动 等操作都会被拦截

@9a6c
Copy link
Author

9a6c commented May 26, 2025

我感觉这里有点不合理。 提示信息不够友好。

@wanghe-fit2cloud
Copy link
Member

wanghe-fit2cloud commented May 26, 2025

我感觉这里有点不合理。 提示信息不够友好。

是的,我们会在后续版本中考虑优化这部分提示信息。

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

3 participants