Hi there !
Yes in my own tests the crash doesn’t happen immediately, but when I try to do anything else in the normal Solus code base, after running the above code then I get the crash in the global shader!
I know I am not providing the best repro steps here, but I know the crash is being caused by 4.5 and the code above, which worked great in 4.4.
This crash has literally halted development on Solus in terms of anything related to upgrading to 4.5, which is basically everything we have yet to do which is UMG.
Basically my experience goes something like this in Solus 4.5
- do normal solus things without calling the new FCanvas code, no crash
- run the code above, and then go back to normal Solus things, reliable crash every time, in the same place, the GlobalShader.cpp line 341.
I have never seen this crash before, and it only occurs in conjunction with the code above!
The code above does not trigger an instant crash, but if I try to do anything else after that then I get the crash!
Again I know this sounds a bit vague, but I really need help with this because it is halting development on Solus until I have a real solution!
The CanvasRenderTarget2D solution could work, but I need a solution as quickly as possible.
Please do have the fix for CanvasRenderTarget2D implemented as quickly as you can, already gave you a working solution!