I have a ULocalPlayer child class that needs to access
(FTexture2DRHIRef&)ViewFamily->RenderTarget->GetRenderTargetTexture()
in its CalcSceneView method.
This works fine for me in editor, however in standalon RenderTargetTextureRHI of the RenderTarget does not seem to be set and thus GetRenderTargetTexture() returns nullptr.
Why does this not work for standalone and how can I get access to the render target texture from ULocalPlayer otherwise?