It has occurred to me that you often get an ‘assertion failed’ error before initialisation, at some line in the cpp code of nap, when something is wrong with rtti definitions.
For example, when you forget to add RTTI_ENABLE() to an rtti defined class, you get:
Assertion failed: (component_instance), function createEntityInstance, file /Users/macbook/Documents/Repositories/nap/modules/napscene/src/scene.cpp, line 522.
These errors are hard to debug, because they give no additional information about the type of problem or about which class causes it.
I was wondering if it would be possible to create clearer error messages for these cases, that communicate the cause and the location of the problem to the programmer.