# Revision history [back]

Hi everyone,

I"m confronted with a strange behavior. I created a model with two custom plugins:

• socket_com
• planar_move

and attached 3 Sensors that are based on the RayPlugin.

Here the model.sdf:

model.sdf

When I'm inserting the model via the api:

world->InsertModelFile("model://agv_a4");


The plugins socket_com and planar_move are not loaded, first I have to exclude the sensors, then it's working again.

When I'm inserting the model other a world file, everything works fine, plugins and sensors are loaded from scratch.

Whats wrong? Is it my mistake or an error of the api.

Thanks and best regards.