Quantcast
Channel: Questions in topic: "issue"
Viewing all articles
Browse latest Browse all 827

Occasionally losing data (animator controller transitions and animator's parameters, animation states remain)

$
0
0
![State 'islands' still exist but transitions and parameters are broken because they're just gone][1] Similar to the (supposedly-solved) ['any state' transition-loss error][2], we occasionally load our project after restarting a workstation, closing/opening unity, [cloning][3], or [pulling][4] and then find that animation-transitions have disappeared, vanished without a trace, along with the parameters which dictate when transitions occur. This of course appears to happen (almost(?)) exclusively on the most-frequently-updated and most-complicated rigged character in the project. This is problematic given its structure is increasingly complicated and therefore increasingly time-consuming to reconstruct piece-by-piece. Probably due to some kind of local caching behavior in Unity, it generally doesn't help to roll back to a recent previous commit, as the transitions sometimes seem to be held in temporary storage somewhere and not always make it into the repo despite vehement **git add .**-ing from top-level and vehement **git add -u**-ing as well. To fix this, we often have to re-link the animations manually, because the animations that *appear* to be configured correctly as we're working have somehow not been committed (at least in a way that Unity can correctly re-load them). It's both boring and enraging. If it matters, we're currently using Unity 4.6.1f1 on Windows 7 and 8.1 with Spriter and Git, with the following **.gitignore** file at the top-level to prevent bloating the repo with temporary files: #ignore the following folders: Library/ Temp/ Obj/ #ignore any files with the file-extensions/suffixes: *Thumbs.db *.csproj *.sln *.unityproj If there isn't some issue with files we are leaving out... **Where is/are the file(s) which store the animator-transition information?** I get the sense they are spread out somehow or else we would be seeing consistent behavior instead of running into data-loss issues so unpredictably, even after saving (committing) what appears to be a perfectly stable project-folder. If you're also having an issue like this, be sure to chime in at least in comments, even if you don't have a lot of information; I will be sure to post workarounds as we learn about them even if we can't gain a full understanding of what's going on. Also, if anybody else understands why everything can be running just fine before a restart/reimport/rebuild and then suddenly break without a clear reason, that's helpful information too. Let me know if I can clarify anything. [1]: /storage/temp/40185-animator-dataloss.png [2]: http://issuetracker.unity3d.com/issues/transitions-from-any-state-disappear-after-deleting-a-state-machine [3]: http://git-scm.com/docs/git-clone [4]: http://git-scm.com/docs/git-pull

Viewing all articles
Browse latest Browse all 827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>