Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing "points" #1

Open
iRollSolo opened this issue Mar 7, 2014 · 5 comments
Open

Introducing "points" #1

iRollSolo opened this issue Mar 7, 2014 · 5 comments

Comments

@iRollSolo
Copy link

Currently spriter points and boxes can't be imported. It gives a null reference exception. These would be incredibly helpful to have in my project.

@mythgarr
Copy link
Owner

mythgarr commented Mar 9, 2014

Solo,

Points and Boxes should now import correctly. Thanks again for pointing this out!

@iRollSolo
Copy link
Author

here are the 2 errors I get when trying to import an object with points.

Folder Not Found! folder: -1
UnityEngine.Debug:LogError(Object)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriteTimelineKey:GetFile(XmlElement) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriteTimelineKey.cs:95)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriteTimelineKey:Parse(XmlElement, Timeline) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriteTimelineKey.cs:61)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.TimelineKey:.ctor(XmlElement, Timeline) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/TimelineKey.cs:40)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpatialTimelineKey:.ctor(XmlElement, Timeline)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriteTimelineKey:.ctor(XmlElement, Timeline)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline:GetKey(XmlElement) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Timeline.cs:81)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline:Parse(XmlElement, SpriterAnimation) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Timeline.cs:56)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Timeline:.ctor(XmlElement, SpriterAnimation) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Timeline.cs:43)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation:LoadTimelines(XmlElement) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriterAnimation.cs:109)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation:Parse(XmlElement, Entity) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriterAnimation.cs:90)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.SpriterAnimation:.ctor(XmlElement, Entity) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/SpriterAnimation.cs:73)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity:LoadAnimations(XmlElement) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Entity.cs:59)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity:Parse(XmlElement, ScmlObject) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Entity.cs:51)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.Entity:.ctor(XmlElement, ScmlObject) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/Entity.cs:42)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject:LoadEntities(XmlElement) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/ScmlObject.cs:72)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject:Parse(XmlElement) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/ScmlObject.cs:55)
Assets.ThirdParty.Spriter2Unity.Editor.Spriter.ScmlObject:.ctor(XmlDocument) (at Assets/ThirdParty/Spriter2Unity/Editor/Spriter/ScmlObject.cs:42)
Assets.ThirdParty.Spriter2Unity.Editor.Unity.ScmlPostProcessor:ImportScml(String) (at Assets/ThirdParty/Spriter2Unity/Editor/Unity/ScmlPostProcessor.cs:73)
Assets.ThirdParty.Spriter2Unity.Editor.Unity.ScmlPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/ThirdParty/Spriter2Unity/Editor/Unity/ScmlPostProcessor.cs:61)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEditor.DockArea:OnGUI()

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:40)
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:73)
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:61)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/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/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/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/d3d49558e4d408f4/Editor/Mono/AssetPostprocessor.cs:26)
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEditor.DockArea:OnGUI()

@jmschuaquico
Copy link

So is this issue still open?

@iRollSolo
Copy link
Author

Yeah. There's no support for transparency, sounds, points or boxes.

@mythgarr
Copy link
Owner

Unfortunately I am no longer able to maintain this project due to a conflict of interests with my current job. It looks like bonus2113 might be continuing development on a separate fork (https://github.com/bonus2113/Spriter2Unity) - you might want to try your luck there.
I apologize for the confusion - my situation changed rather suddenly.

mythgarr pushed a commit that referenced this issue Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants