Under review

Loss of work - Saving a prefab with Pose Editor filled, broke and deleted entire prefab file & existing connections from project

ytGameDevDave 2 years ago updated by Peter - Soxware Developer 2 years ago 6

Image 1148


I saved everything under the prefab into multiple separated prefabs, so it was easy to rebuild the main one. 

Unfortunately this COULD have destroyed almost all progress as the entire prefab was fully unpacked in the scene.

Working with an agile setup, graphics get updated through these prefabs as we pull new updates. 

Imagine having to recreate the prefab and all of its existing connections manually. This would be a severe timeloss that you do not want when you are close to a deadline.

I do not wish to replicate this issue. XD

This definitely needs a fix.

ps: I've been working a lot with UMotion now, this is why there's a lot of suggestions/posts from me, I absolutely love the software and wouldn't choose anything else to animate with as it is a massive treat to be working in the game itself.

UMotion Version:
v1.28
Unity Version:
3.6f1
Under review

Hi Dave,

thanks for reporting this issue.

Several versions ago code was added to UMotion that avoids that you assign a model from the prefab editor to the pose editor. I just tested this and for me UMotion is correctly not allowing to assign a character from the prefab editor to the pose editor:


So I'm wondering what exact steps you take in order to get it assigned?

Thanks for all your input, much appreciated!

Best regards,
Peter

I don't know if this is related, but another bug: 

So basically I duplicated the clip in the project, imported it into the clip in timeline, created a new clip in the clip editor, hit sync and go through the process and then UMotion errors and asks me to file bug report, ignore or restart. 

None of these options work and these are the errors it throws:

Happened before...

This is the main error when just hitting "restart":

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at :0)
UMotionEditor.Model.FileFormats.SerializableTypes.SerializableSortedValueTypeDictionary`1[TKeyValuePair].ΉΉΊΉΉΉΊΊΉΊΊΉΉΊΊΊΉΉΊΊΊΊΉΉΊΊΉΊΊΊΊΉΊΉΊΊΊΊΉΉΊΊΉΉΊΉΉ (System.Int32 ΊΉΊΉΊΉΉΉΉΉΊΉΉΊΉΊΉΊΉΊΊΊΉΊΉΉΊΉΉΊΉΊΉΊΉΉΊΉΊΊΊΊΊΉΊΊΉ) (at line:90)
ΉΊΊΊΉΊΊΉΉΉΊΊΉΉΉΉΊΊΉΊΉΊΉΉΉΉΊΊΉΉΊΉΊΉΉΉΉΊΊΊΉΊΊΊΊΊΊ[TKeyValueModel].ΊΊΉΊΊΊΊΉΉΊΊΉΊΊΊΉΊΊΉΉΉΉΉΉΊΊΊΊΊΊΉΊΊΊΉΉΊΉΉΊΊΊΊΉΊΉΊ (System.Int32 ΊΉΊΉΊΉΉΉΉΉΊΉΉΊΉΊΉΊΉΊΊΊΉΊΉΉΊΉΉΊΉΊΉΊΉΉΊΉΊΊΊΊΊΉΊΊΉ) (at line:205)
ΉΊΊΊΊΉΊΉΉΊΉΊΊΉΊΉΊΉΊΉΊΊΉΉΉΉΉΉΊΉΊΊΉΊΉΊΊΊΉΉΉΉΉΉΉΉΊ.ΊΊΉΉΉΊΉΉΉΊΊΉΉΊΊΉΉΉΉΊΉΉΉΊΊΉΊΊΉΊΊΊΉΊΉΊΉΉΉΉΉΉΉΉΊΊΉ (ΉΊΊΊΊΉΊΉΉΊΉΊΊΉΊΉΊΉΊΉΊΊΉΉΉΉΉΉΊΉΊΊΉΊΉΊΊΊΉΉΉΉΉΉΉΉΊ+ΉΉΊΊΊΉΊΉΊΉΊΉΉΊΉΉΊΊΊΊΊΊΉΊΉΉΉΉΊΉΊΉΊΉΉΊΊΊΊΊΊΊΉΊΉΉΊ ΉΉΊΊΊΉΉΊΉΊΉΉΊΉΉΊΉΊΉΊΉΊΉΊΉΊΊΊΊΊΊΊΊΉΊΊΉΉΉΊΉΊΉΉΊΊΉ) (at line:1615)
ΉΊΊΊΊΉΊΉΉΊΉΊΊΉΊΉΊΉΊΉΊΊΉΉΉΉΉΉΊΉΊΊΉΊΉΊΊΊΉΉΉΉΉΉΉΉΊ.ΉΉΊΊΉΉΊΉΊΊΉΊΊΊΊΊΊΉΉΉΊΊΉΊΊΊΉΊΉΉΊΊΉΊΉΉΉΊΉΉΊΊΉΉΊΊΊ () (at line:702)
ΉΊΉΊΊΉΊΊΉΉΊΉΊΉΊΉΊΊΊΊΉΊΉΊΊΊΉΊΊΉΊΉΊΉΊΊΊΊΉΉΉΊΉΊΉΉΊ.ΉΉΊΊΊΊΉΉΊΊΊΉΉΉΊΉΉΉΉΉΊΊΉΊΊΊΉΊΊΉΊΊΉΊΉΉΉΉΊΉΉΊΊΉΊΉΉ (ΊΊΉΉΉΊΉΊΉΊΊΊΊΊΉΊΉΉΊΉΊΊΉΊΊΉΉΉΉΉΉΉΊΊΉΉΊΉΊΉΊΊΊΊΉΊΊ ΉΊΉΉΊΊΊΉΊΊΊΊΊΉΉΊΊΉΊΉΉΊΉΊΉΊΉΊΊΊΊΊΊΊΉΊΉΊΉΊΉΊΉΉΊΉΊ, System.String ΉΉΊΊΊΊΊΊΉΊΉΊΊΉΉΊΊΊΉΉΉΊΉΊΉΉΉΊΊΉΉΊΉΊΊΊΉΊΉΉΉΊΊΊΉΉΊ, UnityEngine.AnimationClip ΊΉΊΉΉΊΊΊΉΊΉΉΊΉΊΊΉΊΉΉΉΊΊΊΉΊΊΉΊΊΊΊΉΉΊΊΊΉΊΊΉΊΉΊΉΊΉ, ΉΊΉΊΊΉΊΊΉΉΊΉΊΉΊΉΊΊΊΊΉΊΉΊΊΊΉΊΊΉΊΉΊΉΊΊΊΊΉΉΉΊΉΊΉΉΊ+ΉΊΊΉΉΉΉΊΉΊΉΉΊΉΉΊΉΊΉΉΉΉΉΉΊΉΉΊΊΉΉΊΊΊΉΉΉΊΊΊΉΊΉΊΊΉΉ ΊΉΊΊΊΉΊΊΊΊΉΉΉΊΊΊΉΊΉΊΉΉΉΊΊΉΊΉΊΊΉΊΊΉΊΉΉΉΊΉΊΉΊΉΊΊΉ, System.Collections.Generic.List`1[T] ΉΉΊΊΉΉΉΊΉΉΊΉΊΉΊΊΉΊΊΊΉΊΊΉΊΉΉΉΊΉΉΊΊΊΊΊΉΊΉΊΉΊΊΊΊΉΊ, System.Collections.Generic.List`1[T] ΊΊΊΉΊΊΊΊΉΉΉΊΊΉΊΊΉΉΊΊΉΉΊΊΊΊΊΊΉΉΉΉΉΊΉΉΉΊΊΉΉΊΊΉΉΊΊ, System.Int32& ΊΊΉΊΉΉΉΉΉΊΉΉΊΉΉΊΊΉΉΊΊΊΊΊΊΊΊΉΊΉΉΊΉΉΊΉΉΉΉΊΊΉΊΉΉΉΊ) (at line:617)
ΊΉΉΊΉΊΊΉΉΉΊΉΊΊΉΊΉΉΊΊΊΉΊΊΉΉΊΉΊΊΊΊΉΊΉΊΊΊΉΊΉΊΉΊΉΉΊ.ΉΉΊΉΊΊΊΉΊΊΊΉΊΊΉΊΉΉΊΉΉΊΊΊΉΊΊΊΉΊΉΉΉΊΉΉΉΉΉΊΉΊΊΉΊΊΊ () (at line:204)
ΉΉΉΉΊΉΊΉΉΉΊΉΉΉΊΊΉΊΉΊΊΊΉΊΊΊΊΊΊΊΊΉΉΊΊΉΉΉΉΉΉΉΉΉΊΉΉ.ΉΉΊΉΊΊΉΉΊΊΊΉΉΉΊΉΊΊΊΉΊΊΊΉΉΊΊΊΊΉΊΉΊΊΊΉΊΉΉΉΉΊΉΉΊΉΊ () (at line:67)
ΉΉΉΉΊΉΊΉΉΉΊΉΉΉΊΊΉΊΉΊΊΊΉΊΊΊΊΊΊΊΊΉΉΊΊΉΉΉΉΉΉΉΉΉΊΉΉ.ΉΉΊΉΊΊΉΉΊΊΊΉΉΉΊΉΊΊΊΉΊΊΊΉΉΊΊΊΊΉΊΉΊΊΊΉΊΉΉΉΉΊΉΉΊΉΊ () (at line:73)
ΉΉΉΉΊΉΊΉΉΉΊΉΉΉΊΊΉΊΉΊΊΊΉΊΊΊΊΊΊΊΊΉΉΊΊΉΉΉΉΉΉΉΉΉΊΉΉ.ΉΉΊΉΊΊΉΉΊΊΊΉΉΉΊΉΊΊΊΉΊΊΊΉΉΊΊΊΊΉΊΉΊΊΊΉΊΉΉΉΉΊΉΉΊΉΊ () (at line:73)
ΊΊΉΉΉΊΉΊΉΊΉΊΉΊΊΊΉΉΊΊΉΊΊΉΉΉΉΊΊΉΊΉΉΉΉΊΉΉΊΉΉΊΉΉΉΊΉ.ΉΉΊΉΊΊΉΉΊΊΊΉΉΉΊΉΊΊΊΉΊΊΊΉΉΊΊΊΊΉΊΉΊΊΊΉΊΉΉΉΉΊΉΉΊΉΊ () (at line:620)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <44a70d1b13cf47e29810e30f45ffae08>:0)

I think this is a lead to the culprit:

I don't know if this is related, but another bug:

Thanks for reporting this issue. This seems to be unrelated to the original issue. I would still interested in how you managed to get into the state of the original issue so that I can prevent that in the future.

Regarding your new issue: In a quick test I wasn't able to reproduce this on my end with the current information provided. Issues like these can be related to some specific details in your setup so the easiest way for me to fix it would be if you provide me a minimum reproduction project. Ideally this is an fresh Unity project that includes just the stuff I need to reproduce this issue on my end. Please do not include any unrelated files and please provide a step-by-step instruction on how I can reproduce the issue with the files provided.

To reduce the file size of the repo project, please delete the "Library" folder before creating a *.zip out of it. You can either send it to me via the email support form or if file size is too big you can also request a link to my Dropbox via email.

Thank you very much and I'm looking forward to further investigating this issue.

Best regards,
Peter

It's hard to do that for me since there's an NDA attached to this, I wish I could help out... Maybe if one of these issues arrises again I'll find a way to isolate it and file it over to you. 

I understand, no worries. In case you find a way to isolate and reproduce this issue, please let me know.

Best regards,
Peter