Open iris_with_standoffs in another package

Hello guys,

I followed this guide for sitl in gazebo.

I wanted to open iris_with_standoffs.sdf in my package (ap_ros2_test) rather than ardpilot_gazebo. So I create this packages and copied all the files and made necessary changes. But I am getting this error.
[Err] [Server.cc:203] Error Code 14: Msg: Parser configurations requested resolved uris, but uri [package://ap_ros2_test/models/iris_with_standoffs/meshes/iris.dae] could not be resolved.
[Err] [Server.cc:203] Error Code 14: Msg: Parser configurations requested resolved uris, but uri [package://ap_ros2_test/models/iris_with_standoffs/meshes/iris_prop_ccw.dae] could not be resolved.
[Err] [Server.cc:203] Error Code 14: Msg: Parser configurations requested resolved uris, but uri [package://ap_ros2_test/models/iris_with_standoffs/meshes/iris_prop_ccw.dae] could not be resolved.
[Err] [Server.cc:203] Error Code 14: Msg: Parser configurations requested resolved uris, but uri [package://ap_ros2_test/models/iris_with_standoffs/meshes/iris_prop_cw.dae] could not be resolved.
[Err] [Server.cc:203] Error Code 14: Msg: Parser configurations requested resolved uris, but uri [package://ap_ros2_test/models/iris_with_standoffs/meshes/iris_prop_cw.dae] could not be resolved.
[Err] [Server.cc:203] Error Code 9: Msg: Failed to load a world.
These are the changes made in zshrc.

export GZ_SIM_SYSTEM_PLUGIN_PATH=$HOME/ardupilot_ros2/src/ap_ros2_test/build:$GZ_SIM_SYSTEM_PLUGIN_PATH
GZ_SIM_RESOURCE_PATH=$HOME/ardupilot_ros2/src/ap_ros2_test/models:$HOME/ardupilot_ros2/src/ap_ros2_test/worlds:$GZ_SIM_RESOURCE_PATH

I noticed one more thing that it runs only in terminal, when I try to run the command in vs-code terminal it gives me this error. Command used:- gz sim -v4 -r iris_runway.sdf

Any suggestions on what the problem is and how to solve it.

Thanks