# city sample vehicles auto crashing issue(UE 5.2.1)

**URL:** <https://forums.unrealengine.com/t/city-sample-vehicles-auto-crashing-issue-ue-5-2-1/1219870>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, bug-report, question\
**Created:** [July 5, 2023, 7:14am UTC](https://forums.unrealengine.com/t/city-sample-vehicles-auto-crashing-issue-ue-5-2-1/1219870 "2023-07-05T07:14:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tusharsamanntray](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tusharsamanntray](https://forums.unrealengine.com/u/tusharsamanntray)\
**Post date:** [July 5, 2023, 7:14am UTC](https://forums.unrealengine.com/t/city-sample-vehicles-auto-crashing-issue-ue-5-2-1/1219870/1 "2023-07-05T07:14:32Z")

</div>

Hi…  
In city sample project in play mode when a character try to drive the vehicle…when I press ‘C’ to enter the vehicle for drive…the vehicle auto crashes…plz see the video.  
plz help to reslove the issue  
Uploading: sample.mp4…

---

<div class="post-metadata">

**Author:** ![HL0655](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HL0655](https://forums.unrealengine.com/u/HL0655)\
**Post date:** [July 8, 2023, 8:32am UTC](https://forums.unrealengine.com/t/city-sample-vehicles-auto-crashing-issue-ue-5-2-1/1219870/2 "2023-07-08T08:32:03Z")

</div>

Hello,  
I had the same issue and find an answer in this topic :

> [@Unreal Engine 5.2 + City Sample 5.2 driving bug](https://forums.unrealengine.com/t/unreal-engine-5-2-city-sample-5-2-driving-bug/1166210):
>
> Unreal Engine 5.2 + City Sample 5.2 package, no code change. Anyone can recreate the same driving bug? Is this an Unreal Engine 5.2 bug or City Sample 5.2 project bug?

Thanks to @KryogenicGames the solution is pretty easy:  
Modify the BP: Content\Gameplay\Drinving\BP\_CarEntry\_Interaction  
In the block “Wait for notify events from the animation to possess the car (switch camera) and to allow inputs  
It is expected to receive the Possess event before the Unlock event”  
(Bottom right of the BP)  
Just add a ‘Delay until next Tick’ between the TRUE Branch node and the Attach Component to Component Node.

Compile, and voila !
