Jump to content

jonesvg

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi guys, i'm new with spriter, i'm programming the art to a friend and have this issue when i import spriter2unity: NullReferenceException: Object reference not set to an instance of an object Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriteTimelineKey.Parse (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline timeline) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriteTimelineKey.cs:66) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.TimelineKey..ctor (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline timeline) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/TimelineKey.cs:55) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpatialTimelineKey..ctor (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline timeline) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriteTimelineKey..ctor (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline timeline) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline.GetKey (System.Xml.XmlElement element) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Timeline.cs:81) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline.Parse (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation animation) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Timeline.cs:56) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline..ctor (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation animation) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Timeline.cs:43) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation.LoadTimelines (System.Xml.XmlElement element) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriterAnimation.cs:109) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation.Parse (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity entity) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriterAnimation.cs:90) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation..ctor (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity entity) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriterAnimation.cs:73) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity.LoadAnimations (System.Xml.XmlElement element) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Entity.cs:59) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity.Parse (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject scml) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Entity.cs:51) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity..ctor (System.Xml.XmlElement element, Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject scml) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Entity.cs:42) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject.LoadEntities (System.Xml.XmlElement element) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/ScmlObject.cs:72) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject.Parse (System.Xml.XmlElement element) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/ScmlObject.cs:55) Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject..ctor (System.Xml.XmlDocument doc) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/ScmlObject.cs:42) Assets.ThirdParty.Spriter2Unity.Editor.Unity.ScmlPostProcessor.ImportScml (System.String assetPath) (at Assets/ThirdParty/Spriter2Unity/Editor/Unity/ScmlPostProcessor.cs:75) Assets.ThirdParty.Spriter2Unity.Editor.Unity.ScmlPostProcessor.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at Assets/ThirdParty/Spriter2Unity/Editor/Unity/ScmlPostProcessor.cs:62) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/AssetPostprocessor.cs:26) Someone have this issue to?
×
×
  • Create New...