Hi guys, something strange happened. Basically I was opening the Unity Editor while suddenly a warning message appeared saying that previously Unity was closed with errors (it was just a forgotten line of code with no semicolon). I clicked on ignore like I always do and Unity took more time than usual to open up. When it opened I noticed that all ActionList editors in the hierarchy were blank, no actions. How is it possible that a simple error resetted every single ActionList editor inside the scene? Is there a way to recover the old ones?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Did you save the scene afterwards, and what are your AC and Unity versions?
Apologies for the trouble - Unity will unfortunately lose certain scene data in the event of a compilation error.
To try to mitigate this, AC backs up its ActionList data (by default, every 10 minutes).
If you go to an empty ActionList's Inspector, click the cog icon in its upper-right corner, and select Action data -> Restore from the context menu. If backup data exists, it should then get restored - though you should check it carefully to be sure.
This is a last-resort, however. In the event that this occurs again, always open Unity in Safe Mode if prompted, and don't save the scene after fixing the script.
I'm relieved you have a manual backup - I'd strongly recommend the use of version control as well for any Unity project.
There was an unfortunate issue that caused backup data to be overwritten with the "empty" ActionList data if the backup process was run after the data loss. This was addressed in v1.76.1, however.