Hi everyone,
I am having the same issue when using SpawnActor with Class
to spawn a Chaos-based vehicle blueprint from the CitySampleVehicle
project offered freely from the UE5 marketplace.
The solution for my case is adding a Spawn Default Controller
for the vehicle pawned. With this node, the vehicle pawn not can move forward with the throttle greater than 0.
ChatGPT tells me that why to do that
The function Spawn Default Controller
does the following:
- It automatically creates and assigns a default controller to a pawn if it doesn’t already have one. This is useful for AI-controlled pawns or when you want the engine to handle assigning the controller automatically.
- It is typically called after a pawn is spawned into the game world.
Hope it will be helpful to someone!