How to get the Player's Sceneview from Render thread?


I’ve extended a new class from SkeletalMeshComponent and I’m overriding GetRenderMatrix().
I need to find the player’s Sceneview (LocalPlayer->CalcSceneView) and do some calculations with it.

However, when calling CalcSceneView, the engine crashes on an ensure, and it seems the problems is that I’m calling a game thread function from the render thread.

So, my question is: How can I safely find the local player’s sceneview from the render thread?

Thanks very much.

Issue resolved - please see this thread with the updated implementation.