Error on adding obstacles when Studio Project

The library should raise an error when a user tries to add an obstacles despite using a Studio project by set_project.