您当前的位置: 首页 > 

野奔在山外的猫

暂无认证

  • 5浏览

    0关注

    85博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

【解决】Saving failed. Check the Console window to get more insight into what needs to be fixed.

野奔在山外的猫 发布时间:2022-10-17 18:28:19 ,浏览量:5

开发平台:Unity 2020版本以上

问题截图

在这里插入图片描述 注意:这是一个工程操作不规范导致的问题。

解决方案
  • 点击”OK“并前往 Unity Console 进行问题信息查询。
  • 根据实际情况,这里以笔者遭遇内容为主进行记录,若后续有同类型遭遇但问题不同,将会更新解决方案至此文章中以供参考。

Debug 问题一:

  • 问题描述

Error while saving Prefab: ‘Prefab路径’. You are trying to save a Prefab with a missing script. This is not allowed. Please change the script or remove it from the GameObject ‘Prefab名称’. UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()```

  • 问题原因:预制体中存在脚本引用丢失的组件。导致 Prefab 无法保存。
  • 解决方法:查找预制体内,引用丢失的组件,重赋值或删除丢失引用组件即可。
关注
打赏
1659777066
查看更多评论
立即登录/注册

微信扫码登录

0.0381s