Animation error halts loading

We tracked this one down, and it seems an artist swapped the model on an entity that also had an animation attached, which then caused a crash in engine logic as it tried to apply the animation.

This meant on loading, I saw:

“Error loading scripts. Open the browser console for details.”

  • I then had to debug into the engine code to discover it was an animation, then go through our project to find the culprit.

It seems like it would be a good idea to give a better console error and/or not crash, just give debug output?

I branched the project while the crash was present, so I could report it - I can add people to this project to show you, if that helps.