Niagara // City Sample Vehicle Damage Sensor Grid Not Working in Standalone or Packaged, only in PIE

Hi,

I have been studying how the vehicles in City Sample are set up with the Niagara Sensor Grid, Data Interface and so on. However, I have been banging my head against the wall here for a few days now, as I cannot seem to figure out why the Niagara damage sensor grid is not working when running as a standalone process or even in packaged mode. The same thing happens when running the City Sample “Small Map” as well.

As you can see from the attached videos, the collisions are sort of working, but the control rig is not deformed, and no scratches are left when running standalone which indicates that the Niagara grid isn’t working in standalone or packaged versions. I have re-built the solution multiple times, cleared all derived data caches, etc, but to no avail.

This is what it looks like in editor:

And here is how it looks when run as a standalone (same when packaged)

And here where the debug of tension and scratch maps are visualized:

PIE:

Standalone:

I also downloaded a fresh copy of the city sample, with a clean install of UE5 5.0.1, and running the Small Map as standalone seemingly has the same issue. I just tested this in case I messed something up with the other project.

The only additional entries in the log when running standalone are these lines that say

]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_2.NiagaraDataInterfaceStaticMesh_0
[2022.04.23-09.55.48:742][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1
[2022.04.23-09.55.48:743][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1
[2022.04.23-09.55.48:744][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Vehicle/vehVan_vehicle01/Mesh/SM_Wheel_Front_R_vehVan_vehicle01.SM_Wheel_Front_R_vehVan_vehicle01
[2022.04.23-09.55.48:746][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_0
[2022.04.23-09.55.48:747][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_0
[2022.04.23-09.55.48:747][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_0.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Vehicle/vehVan_vehicle01/Mesh/SM_Wheel_Front_R_vehVan_vehicle01.SM_Wheel_Front_R_vehVan_vehicle01
[2022.04.23-09.55.48:749][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_1
[2022.04.23-09.55.48:749][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_1
[2022.04.23-09.55.48:749][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_1.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Vehicle/vehVan_vehicle01/Mesh/SM_Wheel_Front_R_vehVan_vehicle01.SM_Wheel_Front_R_vehVan_vehicle01
[2022.04.23-09.55.48:750][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_2
[2022.04.23-09.55.48:751][669]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_2
[2022.04.23-09.55.48:751][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_2.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Vehicle/vehVan_vehicle01/Mesh/SM_Wheel_Front_R_vehVan_vehicle01.SM_Wheel_Front_R_vehVan_vehicle01
[2022.04.23-09.55.48:756][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehVan_vehicle01/frame_rear_trans/frame_rear_trans_hitbox.frame_rear_trans_hitbox
[2022.04.23-09.55.48:756][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_0.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehVan_vehicle01/taillight_r_trans/taillight_r_trans_hitbox.taillight_r_trans_hitbox
[2022.04.23-09.55.48:756][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_1.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehVan_vehicle01/panel_rear_r_trans/panel_rear_r_trans_hitbox.panel_rear_r_trans_hitbox
[2022.04.23-09.55.48:756][669]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehVan_vehicle01_Sandbox_C_0.NODE_AddNiagaraComponent-1_2.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehVan_vehicle01/taillight_01_trans/taillight_01_trans_hitbox.taillight_01_trans_hitbox
[2022.04.23-09.55.49:094][680]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1
[2022.04.23-09.55.49:094][680]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1
[2022.04.23-09.55.49:099][680]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehCar_vehicle05/door_front_r_trans/door_front_r_trans_hitbox.door_front_r_trans_hitbox
[2022.04.23-09.55.49:367][699]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_0
[2022.04.23-09.55.49:368][699]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_0
[2022.04.23-09.55.49:372][699]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_0.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehCar_vehicle05/door_front_l_trans/door_front_l_trans_hitbox.door_front_l_trans_hitbox
[2022.04.23-09.55.49:384][700]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_1
[2022.04.23-09.55.49:384][700]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_1
[2022.04.23-09.55.49:386][700]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_1.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehCar_vehicle05/door_rear_l_trans/door_rear_l_trans_hitbox.door_rear_l_trans_hitbox
[2022.04.23-09.55.49:650][714]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_2
[2022.04.23-09.55.49:650][714]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_2
[2022.04.23-09.55.49:651][714]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_3
[2022.04.23-09.55.49:651][714]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_3
[2022.04.23-09.55.49:655][714]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_2.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehCar_vehicle05/headlight_l_trans/headlight_l_trans_hitbox.headlight_l_trans_hitbox
[2022.04.23-09.55.49:655][714]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_3.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehCar_vehicle05/foglight_l_trans/foglight_l_trans_hitbox.foglight_l_trans_hitbox
[2022.04.23-09.55.49:670][715]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_4
[2022.04.23-09.55.49:670][715]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_4
[2022.04.23-09.55.49:672][715]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_5
[2022.04.23-09.55.49:672][715]LogNiagara: User parameter redirect exists but no real value! Param: User.PointOfImpact Owner:/Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_5
[2022.04.23-09.55.49:675][715]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_4.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehCar_vehicle05/foglight_l_trans/foglight_l_trans_hitbox.foglight_l_trans_hitbox
[2022.04.23-09.55.49:675][715]LogNiagara: NiagaraStaticMeshDataInterface used by CPU emitter and does not allow CPU access. Interface: NiagaraDataInterfaceStaticMesh /Game/Vehicle/Map/VehicleTestMap.VehicleTestMap:PersistentLevel.BP_vehCar_vehicle05_Sandbox_C_0.NODE_AddNiagaraComponent-1_5.NiagaraDataInterfaceStaticMesh_0, Mesh: StaticMesh /Game/Effect/Vehicle/BrokenGlass/vehCar_vehicle05/foglight_l_trans/foglight_l_trans_hitbox.foglight_l_trans_hitbox

Have tried on two machines, one with a RTX 3070, and other with an RTX 3050, same on both.

Any pointers as to how go about debugging something like this?

2 Likes

Upon further investigation it seems that the control rig is not “deforming” either. The control points don’t seem to move when standalone or packaged. Wonder if this is an issue with collision detection of the physics bodies or something, but the “On component hit” event is triggered upon impact.

1 Like

Have you ever found the solution to fix this?

It’s still not working in packaged build on 5.1.

1 Like

maybe the deform not work, theres so many files named with vehicle in other presiding folders,
so i wonder how did you get the vehicle to work at all with some effects then
i tried import vehicle folder to another project, not work on 5.1.1
and after moving the folder the project wouldnt spawn vehicles

1 Like

still have this problem …… how to fix this problems?

1 Like

Could the deform-able mesh be initialized late in the packaged build vs the editor ones? Much like this post? Destructible mesh spawning in "broken" in packaged build; won't respond to damage or simulate

How to enable this debug mode? Found it: Debug Tension and Scratch Maps inside BP_VehicleBase_Destruction.

Has anyone figured out how to package this project with the deformation vehicle working? Please share the solution if you have found it.