Im trying to make a autofocusing CineCamera for a small movie, by firing a linetrace forward infront of my CineCamera and adjust the Manual Focus Distance. But everytime i run this, UE4 crashes. Any other way to implement an autofocusing CineCamera that im not aware of?

Click image for larger version

Name:	102962-capture.png
Views:	1
Size:	165.6 KB
ID:	1191871