Accessed None 'CallFunc_BreakHitResult_PhysMat'from node Constrution Script

Accessed None 'CallFunc_BreakHitResult_PhysMat’from node Constrution Script …
when i try to get the Phys mat from (Event hit)

Hi MuhammadMadi,

Can you provide any more information on how you’ve got things setup? Images with Blueprint setup is always helpful.

We have a general “Access None” issue reported (UE-3412), which may be related, but I’d still like to get a repro where possible.

Thank you!

Tim

OK ive tried it in 4.6 and 4.7
in any Blueprint Actor make an Event Hit on hit slot u can do split slot struct
now u can see slot called (hit phys mat) this should give me (get) the surface-type based on physical material
any way it always return (default) witch is the default (first) surface type
while i have more than 20
i checked it out by print string
and now i just checked it on 4.7 preview 6
same issue

Thanks MuhammadMadi! I’ve been able to repro this exactly and have submitted a ticket for an engineer to take a look. For your reference the ticket number is UE-9829.

Thank you!
Tim

Hi MuhammadMadi,

This has been fixed with CL-2481934 and will be included with the release of 4.8.

The resolution for this was making a more descriptive message when hovering over the node. This now indicates that the “bReturnMaterialOnMove” needs to be enabled via the details panel.

This setting is already available in 4.7. The only thing that has been updated is the description which now reads:

Thank you!

Tim

i found it and it works well with collision component
many thanks to u for returning back to me

i found it and it works well with collision component
many thanks to u for returning back to me