my object move to another place after hitting play

my vehicle with scripts attached move to different place than what i have positioned them after I hit play button

whats the problem?

There’s an animation attached to your vehicle. Animations contain positional data, so you have to either remove the position animation in your modeling program, or you have to make the vehicle a child of another object, and move the parent instead of the vehicle.

Sorry, I have already done this before only forgotten and now I have remembered here is the solution:

Eventhough you have delete the animation the problem still occur, its all lies on parent because no matter where the child object positioned it will move accordance to where parent been positioned after you hitting hitting play. You have to positioned the parent same as child or where you choice is because it will regard the child position anyway.

Well at least that is in my case

For example if the tyre is child to car body but the tyre has its own script it will make the tyre its own parent and as this problem occur to tyre only it will disturb along car body positioned too

I’m not entirely sure what I did to make it work…

I went back to maya, copied the animations first then deleted the animations, made my object larger, freeze transforms, paste back the animations, made a cube named Parent at 0,0,0 and placed my object as a child inside of Parent.

Exported again, deleted the old stuff from unity, then reimported the object, made it legacy in the settings, then placed it and resized it accordingly and it plays as its meant to without resizing and repositiong.