# Revision history [back]

As I indicated in my edit, this problem has nothing to do with any plugins. It was caused by attempting, in .bashrc, to modify environment variables, GAZEBO_MODEL_PATH and GAZEBO_RESOURCE_PATH, that had never been set. As Steven Peters pointed out in the bug tracker issue, this entire problem can be fixed by putting the line

source /usr/share/gazebo/setup.sh


above the lines

export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:<new_path> export GAZEBO_RESOURCE_PATH=${GAZEBO_RESOURCE_PATH}:<new_path>


in .bashrc.

As I indicated in my edit, this problem has nothing to do with any plugins. It was caused by attempting, in .bashrc, to modify environment variables, GAZEBO_MODEL_PATH and GAZEBO_RESOURCE_PATH, that had never been set. As Steven Peters pointed out in the bug tracker issue, this entire problem can be fixed by putting the line

source /usr/share/gazebo/setup.sh


above the lines

export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:<new_path> export GAZEBO_RESOURCE_PATH=${GAZEBO_RESOURCE_PATH}:<new_path>


in .bashrc.. The Getting Started tutorial mentions the need to do this.

As I indicated in my edit, this problem has nothing to do with any plugins. It was caused by attempting, in .bashrc, to modify environment variables, GAZEBO_MODEL_PATH and GAZEBO_RESOURCE_PATH, that had never been set. As Steven Peters pointed out in the bug tracker issue, this entire problem can be fixed by putting the line

source /usr/share/gazebo/setup.sh


above any lines that customize the linesGazebo paths

export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:<new_path> export GAZEBO_RESOURCE_PATH=${GAZEBO_RESOURCE_PATH}:<new_path>


in .bashrc. The Getting Started tutorial mentions the need to do this.

As I indicated in my edit, this problem has nothing to do with any plugins. It was caused by attempting, in .bashrc, to modify environment variables, GAZEBO_MODEL_PATH and GAZEBO_RESOURCE_PATH, that had never been set. As Steven Peters pointed out in the bug tracker issue, this entire problem can be fixed by putting the line

source /usr/share/gazebo/setup.sh


above any lines that customize the Gazebo pathspaths, such as

export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:<new_path> export GAZEBO_RESOURCE_PATH=${GAZEBO_RESOURCE_PATH}:<new_path>


in .bashrc. The Getting Started tutorial mentions the need to do this.