Hello, I am using FPreviewScene to create a preview world and render it to a widget. I am using UE4.27 and Genenrally I am following this serial videos (Create a Headshot Renderer 01 Setup the Preview Scene - YouTube).
While, strangely, my code works well when play in “Standalone Game”/“Mobile Preview ES 3.1”. But in “Selected Viewport”/“New Editor Window”/“Simulate” modes, the captured texture is rendered firstly but does not update with tick. With debugging breakpoints, I am sure the tick/UpdateDeferredCaptures/NativePaint functions are called at a normal frequence. It seems that in some kinds of editor modes at somewhere the old data is kept and not refreshed.
I also test it on UE5.1, more strangely, it works on well in PIE and SelectedViewport, but does not update in “Mobile Preview ES 3.1”/“Standalone” mode. The shipping built android version completely does not show the preview world.
I have no ideas about what really causes these phenomenons. I know UE seems dislike multi-world, so is FPreviewScene a really shippable feature now?
Could anyone help me figure out what causes the problems and how to solve/walk-around it?