[4.5 Urgent] Cant upgrade Solus, Making an FCanvas for Render Texture Crashes 4.5, Same Code works great in 4.4

#Alternative Repro for CanvasRenderTarget

If you want to see the crash for the CanvasRenderTarget that’s even simpler!

  • Same static mesh extending class

#.h

UPROPERTY()
UCanvasRenderTarget2D* RenderTex;

#.cpp
RenderTex =
UCanvasRenderTarget2D::CreateCanvasRenderTarget2D(
UCanvasRenderTarget2D::StaticClass(),
512, 512
);

Crash in this case happens on trying to CreateCanvasRenderTarget2D, the only line of code here.

This is all in game thread :slight_smile:

You could trigger this code on key press via Blueprints if you like, I am trigger this code when player presses key to open the Solus Sleep Menu

Thanks!