HeliumProject / Engine

C++ Game Engine (Under Construction!)
http://heliumproject.org/
Other
441 stars 70 forks source link

Improve asset file errors #63

Open aclysma opened 10 years ago

aclysma commented 10 years ago

Issues like using a class name that does not exist in a sub object or not putting quotes around a identity i.e. m_Components: [2] or m_Components: 2 cause crashes that are difficult to understand. Would be much better to have good error messages.

gorlak commented 10 years ago

Handle index out-of-range.

gorlak commented 6 years ago

I was hitting this recently as well. Many crash vectors seem to be specifying incorrect paths for assets. Also, things don't go well when trying to put a json asset in the data root (no package).