1
Support / Re: Importing / Exporting between projects
« on: March 15, 2012, 11:09:59 am »
Sorry for late reply.
We are using the Pro trial version, 3.5.0f5
How to duplicate this:
1. Create a new project, include 2D Toolkit, Open demo 1 - demoscene.
2. Create a prefab named SheepPrefab
3. Drag sheep from Hierarchy to SheepPrefab in Project.
4. Right-click on SheepPrefab and Export Package (Note: DemoSpriteCollection is missing from the Items to Export)
5. Create a new Project, include 2D Toolit.
6. Delete tk2d_demo as if this was a blank project
7. Import the SheepPrefab package into the project
8. Bring the DemoAnimations up in Inspector, select the sheep clip
At this point no frames are displayed in Inspector, I also get a bunch of these errors in Inspector:
We are using the Pro trial version, 3.5.0f5
How to duplicate this:
1. Create a new project, include 2D Toolkit, Open demo 1 - demoscene.
2. Create a prefab named SheepPrefab
3. Drag sheep from Hierarchy to SheepPrefab in Project.
4. Right-click on SheepPrefab and Export Package (Note: DemoSpriteCollection is missing from the Items to Export)
5. Create a new Project, include 2D Toolit.
6. Delete tk2d_demo as if this was a blank project
7. Import the SheepPrefab package into the project
8. Bring the DemoAnimations up in Inspector, select the sheep clip
At this point no frames are displayed in Inspector, I also get a bunch of these errors in Inspector:
Code: [Select]
IndexOutOfRangeException: Array index is out of range.
tk2dSpriteAnimationEditor.DrawSpritePreview (Int32 collectionId, Int32 spriteId) (at Assets/TK2DROOT/tk2d/Sprites/Editor/tk2dSpriteAnimationEditor.cs:542)
tk2dSpriteAnimationEditor.OnInspectorGUI () (at Assets/TK2DROOT/tk2d/Sprites/Editor/tk2dSpriteAnimationEditor.cs:446)
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty)
UnityEditor.InspectorWindow.OnGUI ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)