Accessed None trying to read physical material.

Hi there,

I have built a simple projectile with a collision sphere, that should read the physical material of the actor it hits, this then changes a state in Wwise to play a impact sound dependant on the physical material. At run time the print string works and gets the correct physical material but does not change the state and generates this error:

Blueprint Runtime Error: Accessed None trying to read property CallFunc_GetMaterial_ReturnValue from function: ‘ExecuteUbergraph_Auto_Turret_Projectile’ from node: Print String in graph: EventGraph in object: Auto_Turret_Projectile with description: Accessed None trying to read property CallFunc_GetMaterial_ReturnValue

If anyone would be able to help me understand why this is happening and fix itll be greatly appreciated!

Thanks