Spine用于Timeline(NullReferenceException: Object reference not set to an instance of an object pine.Un...

博客指出在Spine使用TimeLine时,右键创建AnimationReferenceAsset会出现报错,并给出报错信息。解决方案是找到Sine的SkeletonData.asset文件,在其Inspector窗口通过Create Animation Reference Asset按钮创建。后续还将针对Spine动画用于Timeline写文章。

报错信息:Spine.Unity.Editor.AnimationReferenceAssetEditor.OnInspectorGUI () (at Assets/Extention/Spine/Editor/spine-unity/Editor/AnimationReferenceAssetEdito

在Spine使用TimeLine 时 右键--> create --> Spine 创建AnimationReferenceAsset 时出现的这样一个错误

解决方案:找到Sine的SkeletonData.asset 文件

在其Inspector窗口找到Create Animation Reference Asset 按钮,用这个方式创建,后续会对Spine动画用于Timeline 写一篇文章

图:

 

转载于:https://www.cnblogs.com/BXLH/p/10577047.html

: ReportException: LuaException: c# exception:System.NullReferenceException: Object reference not set to an instance of an object. c# exception:System.NullReferenceException: Object reference not set to an instance of an object. at XLua.CSObjectWrap.SpineUnitySkeletonGraphicWrap._s_set_skeletonDataAsset (System.IntPtr L) [0x00000] in <00000000000000000000000000000000>:0 at XLua.DelegateBridge.__Gen_Delegate_Imp35 (COL.UnityGameWheels.Core.Asset.IAssetAccessor p0, System.Object p1) [0x00000] in <00000000000000000000000000000000>:0 at COL.UnityGameWheels.Core.Asset.OnLoadAssetSuccess.Invoke (COL.UnityGameWheels.Core.Asset.IAssetAccessor assetAccessor, System.Object context) [0x00000] in <00000000000000000000000000000000>:0 at COL.UnityGameWheels.Core.Asset.AssetModule+Loader+AssetCache.CallLoadAssetSuccess (COL.UnityGameWheels.Core.Asset.AssetAccessor assetAccessor) [0x00000] in <00000000000000000000000000000000>:0 at COL.UnityGameWheels.Core.Asset.AssetModule+Loader+AssetCache.SucceedAndNotify () [0x00000] in <00000000000000000000000000000000>:0 at System.Action`1[T].Invoke (T obj) [0x00000] in <00000000000000000000000000000000>:0 at COL.UnityGameWheels.Core.Asset.AssetModule+Loader.UpdateTickDelegates (COL.UnityGameWheels.Core.TimeStruct timeStruct) [0x00000] in <00000000000000000000000000000000>:0 at COL.UnityGameWheels.Core.Asset.AssetModule+Loader.Update (COL.UnityGameWheels.Core.TimeStruct timeStruct) [0x00000] in <00000000000000000000000000000000>:0 stack traceback: [C]: in ? [C]: in metamethod '__newindex' Common/AnimatorUtil.lua:843: in upvalue 'onSuccess' AssetExtensionLua.lua:74: in function <AssetExtensionLua.lua:72> ********* XLua.LuaEnv.ThrowExceptionFromError (System.Int32 oldTop) (at <00000000000000000000000000000000>.0) XLua.DelegateBridge.__Gen_Delegate_Imp35 (COL.UnityGameWheels.Core.Asset.IAssetAccessor p0, System.Object p1) (at <00000000000000000000000000000000>.0) COL.UnityGameWheels.Core.Asset.OnLoadAssetSuccess.Invoke (COL.UnityGameWheels.Core.
最新发布
04-01
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值