You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Unity 2023.2.15.f1编译Nintendo Switch项目失败求助

Unity 2023.2.15.f1 编译至Nintendo Switch时构建失败:找不到指定路径

我使用Unity 2023.2.15.f1将项目编译至Nintendo Switch平台时,构建过程中出现以下错误:

Building Library\Bee\artifacts\AppPkg\6w12j\main.npdm failed with output:
The system cannot find the path specified.

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Build completed with a result of 'Failed' in 4 seconds (4419 ms)
Building Library\Bee\artifacts\AppPkg\6w12j\main.npdm failed with output:
The system cannot find the path specified.

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)


Build failed

错误截图:
错误截图

解决建议

  • 检查Switch SDK路径配置:打开Unity的Edit > Project Settings > Nintendo Switch,确认SDK路径指向正确的Nintendo Switch开发工具包目录,路径中不要包含中文或特殊字符。
  • 清理Bee构建缓存:删除项目目录下的Library\Bee文件夹,重启Unity后重新构建。
  • 验证NPDM文件配置:确认项目中main.npdm的配置参数正确,必要时通过Switch构建工具重新生成该文件。
  • 排查目录权限:确保Unity进程拥有Library\Bee\artifacts\AppPkg目录的读写权限,避免系统权限拦截导致路径无法访问。
  • 版本兼容性排查:尝试升级Unity到2023.2系列的最新补丁版本,或更新Nintendo Switch SDK至与当前Unity版本兼容的版本。

内容的提问来源于stack exchange,提问作者Pinnacle Luminary

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.26 10:00:56