2D Toolkit > Support

Issues with Unity 2018

<< < (2/12) > >>

giacomopc:
I updated my project to 2018.3 and using the Commit button on the animation editor doesn't work. It seems to be a change that affects any prefab you try to edit using 2D Toolkit's windows.

Steps to reproduce:
1. Create a new project on Unity 2018.3.0
2. Create a Sprite Animation asset on the Project tab.
3. Open the Prefab
4. Click the Open Editor... button on the created SpriteAnimation
5. Create a new clip, then click "Commit", and deselect the prefab, then select it again.
6. Close the Popup Window, and open it again. You'll see that it didn't save your changes.

csumsky3:
Hello,

Getting issues with 2018.3 also. We just updated, and the main issue is that you can no longer commit new sprites to Sprite Collections. You just get the following error:


--- Code: ---ArgumentException: Invalid path
System.IO.Path.GetDirectoryName (System.String path) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
tk2dEditor.SpriteCollectionBuilder.LinkBuilder.Build (tk2dSpriteCollection data) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionLinkBuilder.cs:39)
--- End code ---

I'll post the full console to the end of this message. Any solutions here? Pretty major since we effectively can't add new sprites to our project as of 2018.3.

As a smaller issue, there are also a ton of new warnings that print to console every time the project compiles. Not breaking anything (maybe...), but makes it hard to use the console very effectively.

Thanks for any help! Hoping we don't have to revert Unity versions :/

Here's the full console log for the main sprite collection error:


--- Code: ---ArgumentException: Invalid path
System.IO.Path.GetDirectoryName (System.String path) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
tk2dEditor.SpriteCollectionBuilder.LinkBuilder.Build (tk2dSpriteCollection data) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionLinkBuilder.cs:39)
tk2dSpriteCollectionBuilder.Rebuild (tk2dSpriteCollection gen) (at Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dSpriteCollectionBuilder.cs:1454)
tk2dSpriteCollectionEditorPopup.Commit () (at Assets/TK2DROOT/tk2d/Editor/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:446)
tk2dSpriteCollectionEditorPopup.DrawToolbar () (at Assets/TK2DROOT/tk2d/Editor/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:436)
tk2dSpriteCollectionEditorPopup.OnGUI () (at Assets/TK2DROOT/tk2d/Editor/Sprites/SpriteCollectionEditor/tk2dSpriteCollectionEditorPopup.cs:907)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:342)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:336)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:310)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean floatingWindow, System.Boolean isBottomTab) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:363)
UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:322)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:266)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:438)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:421)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleEvent (UnityEngine.Experimental.UIElements.EventBase evt) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:401)
UnityEngine.Experimental.UIElements.EventDispatcher.ProcessEvent (UnityEngine.Experimental.UIElements.EventBase evt, UnityEngine.Experimental.UIElements.IPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:511)
UnityEngine.Experimental.UIElements.EventDispatcher.Dispatch (UnityEngine.Experimental.UIElements.EventBase evt, UnityEngine.Experimental.UIElements.IPanel panel, UnityEngine.Experimental.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:307)
UnityEngine.Experimental.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.Experimental.UIElements.EventBase e, UnityEngine.Experimental.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:176)
UnityEngine.Experimental.UIElements.UIElementsUtility.DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:245)
UnityEngine.Experimental.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:68)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr
--- End code ---

denysus:
Yes, it seems that new Nested Prefab system broken the saving ability. Unable to commit collections anymore (2018.3)

Ninja:
Same issues as csumsky3, just upgraded to Unity 2018.3. Any progress on a solution?

unikronsoftware:
Still investigating a solution. The new prefab system has busted it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version