Improvements to errors produced concerning model behaviours in build process

While building an aircraft that has a model behaviour xml file which the sim doesn’t like, the errors produced are incredibly opaque and do next to nothing to help with any debugging.

It would be nice if the errors produced were more descriptive, even if it only showed the line/column of the file that caused those issues

Hello @meqolo

This is likely caused by your source xml file having a different size than what’s indicated in the layout.json.

For some reason, your layout.json is not updated when you build your package.
Can you check if your layout.json file is in read only mode? This is the only way I was able to trigger that specific error.

Regards,
Sylvain

Hey, thanks for the help - turned out the build was failing but because I had been manually placing the modelbehaviours into my output directory the layout.xml file wasnt being updated.

Got it sorted now by including them in the asset file