Julen

Hello,

We are having some trouble when using Unity Collab with the Spine Atlas assets,

When downloading an update from the Unity Collab System, some Atlas assets loses the Atlas file (*.atlas.txt) reference, forcing us to reassign them manually.

It isn't a consistent error, sometimes happens, sometimes doesn't.

We are using the default .collabignore file:
# ===========================
# Default Collab Ignore Rules
# ===========================

# OS Generated
# ============
.DS_Store
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
[Tt]humbs.db
[Dd]esktop.ini

# Visual Studio / MonoDevelop generated
# =====================================
[Ee]xported[Oo]bj/
*.userprefs
*.csproj
*.pidb
*.suo
*.sln
*.user
*.unityproj
*.booproj

# Unity generated
# ===============
[Oo]bj/
[Bb]uild
sysinfo.txt
*.stackdump
Unity Version: 2018.1.9f2

Is anyone else having this behaviour too?

Thanks in advance,

Julen.

---

Edit:
This is the error that unity throws when downloading updates from collab:
TargetException: Non-static field requires a target
System.Reflection.MonoField.GetValue (System.Object obj) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
Spine.Unity.Editor.SpineEditorUtilities.IngestSpineAtlas (UnityEngine.TextAsset atlasText) (at Assets/ThirdParty/Spine/spine-unity/Editor/SpineEditorUtilities.cs:1127)
Spine.Unity.Editor.SpineEditorUtilities.ImportSpineContent (System.String[] imported, System.Boolean reimport) (at Assets/ThirdParty/Spine/spine-unity/Editor/SpineEditorUtilities.cs:663)
Spine.Unity.Editor.SpineEditorUtilities.OnPostprocessAllAssets (System.String[] imported, System.String[] deleted, System.String[] moved, System.String[] movedFromAssetPaths) (at Assets/ThirdParty/Spine/spine-unity/Editor/SpineEditorUtilities.cs:625)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <f826c2584fc94ec19a48a6576640bdc5>: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 <f826c2584fc94ec19a48a6576640bdc5>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)
头像
Julen
帖子: 30

Pharan

That's very odd.
meta files should be the way assets keep their guids and their serialized connections. Spine assets don't do anything special in that area, so I'm not sure why those would break while other assets don't. The ignore file looks correct and harmless.

I'll see if that error below can be avoided though.
头像
Pharan

Pharan
帖子: 5341


回到 Unity