# 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:** 1\
**Showing post:** 2

<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 !

---

_[View the full topic](https://forums.unrealengine.com/t/city-sample-vehicles-auto-crashing-issue-ue-5-2-1/1219870)._
