Fix run crashing issues
Cleanup
Merge pull request #5412 from ianna/material-budget-validation

Fix Runtime Crashing Issues