惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
N
Netflix TechBlog - Medium
Google Online Security Blog
Google Online Security Blog
月光博客
月光博客
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
V2EX
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
The Cloudflare Blog
Blog — PlanetScale
Blog — PlanetScale
F
Full Disclosure
G
Google Developers Blog
罗磊的独立博客
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
A
About on SuperTechFans
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
GbyAI
GbyAI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
The Register - Security
The Register - Security
U
Unit 42
D
Docker
Martin Fowler
Martin Fowler
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
阮一峰的网络日志
阮一峰的网络日志
C
Cybersecurity and Infrastructure Security Agency CISA
博客园_首页
Google DeepMind News
Google DeepMind News

博客园 - 自由程序员2006

股市赚钱就是这么简单 解决Android调用相机拍照,要报“打开相机失败”查看debug日志显示“setParameters failed”的问题 四角号码查询器手机版 解决 HttpWebResponse.GetResponse()一直提示超时 解决Oracle登录极慢的问题 分享 百度网盘,不用开会员也可以免费同步上传视频和照片的方法 广电的宽带网络真流氓,替换google的广告为百度的广告 Android下WPS打开Excel2007版也有问题 微软官方的Excel android 移动版的折腾 分享vs低版本开发的项目到VS高版本时遇到的4个小问题解决之记录 解决System.Runtime.CompilerServices.ExtensionAttribute..ctor 与 ‘ExtensionAttribute’ is ambiguous in the namespace ‘System.Runtime.CompilerServices’ 问题 解决 在Android开发上使用KSOAP2上传大图片到服务器经常报错的问题 解决微云登陆出现wns login error的问题 终于可以随意控制孩子玩手机的时间了 Android项目,从web上取下汉字,中文部分乱码 Consider this problem again and again, resolve that AndEngine not run in AVD Finally <<Learning Android Game Programming>> need update 今天很兴奋。看到了2个激动人心的技术 编程难不难?
There is no ‘Animation’ attached to the “Player” game object
自由程序员2006 · 2014-11-03 · via 博客园 - 自由程序员2006

There is no ‘Animation’ attached to the “Player” game object

在照着龚老师的Unity3D投篮游戏视频教程练习时,遇到这个错误提示。

我知道意思:就是player模型导入时,动画没有正确的加进来,提示说找不到脚本中提到的Animation。但实际上,我是设置了动画分段的。由于Unity 3D版本比龚老师录视频时用的新,这段动画拆分,就和视频上有不同。

MissingComponentException: There is no ‘Animation’ attached to the “Player” game object, but a script is trying to access it.
You probably need to add a Animation to the game object “Player”. Or your script needs to check if the component is attached before using it.
UnityEngine.Animation.PlayQueued (System.String animation) (at C:/BuildAgent/work/d63dfc6385190b60/artifacts/EditorGenerated/Animations.cs:645)
Player.Update () (at Assets/Scripts/Player.cs:16)
只需要将u3d里模型的Rig-Animationtype 设置成Legacy。

同步发在博客 http://anforen.com/wp/2014/11/there-is-no-animation-attached-to-the-player-game-object/