Download

Set Collision Enabled is working but has runtime error

Hello guys I am trying to use /set a collision enabled/ node from the pawn to another bp actor collision box. The node works it removes the collisions that I need but it gives me a runtime error and my project starts lagging because this function executes after Linetrace and creates a lot of errors.

Here is the error:
Blueprint Runtime Error: Accessed None trying to read property CallFunc_Array_Get_Item4 from function: ‘SetUnnecessarySnapCollisions0’ from node: Set Collision Enabled in graph: SetUnnecessarySnapCollisions0 in object: BuildingPawn with description: Accessed None trying to read property CallFunc_Array_Get_Item4

Make sure all the variables are set up properly from the blueprint that you are getting it from