找回密码
 register
搜索
查看: 500|回复: 0

[游戏教程] 报错解决方法 Logic Model Attribute with name 'weaponMat' doesn't exist! 和另外一种报错: Logic Model Entity with name '绿水晶法杖' dosen't exists! LogicModel::_setEntityMaterial 绿水晶法杖.obj

[复制链接]
  • 打卡等级:本地老炮
  • 打卡总天数:528
  • 打卡月天数:17
  • 打卡总奖励:526
  • 最近打卡:2026-06-19 10:50:42
Waylee 发表于 2023-11-4 16:48 | 显示全部楼层 |阅读模式
文章编辑人员:雪舞
内容测试时间:2023-11-4 16:47:17


我今天看了一下报错. 是obj里面没有定义,



添加:
<Attribute name="weaponMat" value="" hints="Material" />


意味者没有找到weaponMat属性  就添加如上一条


如果出现:
Logic Model Entity with name '绿水晶法杖' dosen't exists! LogicModel::_setEntityMaterial 绿水晶法杖.obj

那意味者  


 <EntityList>
        <Entity name="绿水晶法杖" file="蓝绿水晶法杖.mesh" material="" />
    </EntityList>

这里的名字写错了name="绿水晶法杖"


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?register

×
您需要登录后才可以回帖 登录 | register

本版积分规则

QQ|雪舞知识库 ( 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 )|天天打卡

GMT+8, 2026-6-19 17:36 , Processed in 0.078756 second(s), 32 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表