Using a SubViewport (with new World3D) as a Texture (for example for Sprite3D)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By slavi

I’m trying to figure out how the SubViewport works with own world

To do this, I created a test project, the scene structure is as follows
-Node3D
–SubViewport
—MeshInstance3D
—Camera3D
—DirectionalLight3D
–MeshInstance3D
–Sprite3D
–Camera3D
–DirectionalLight3D

In the viewport I created a new world “New World3D”
In Sprite3D I set the texture “New ViewportTexture” and selected my viewport
There are no scripts in the scene

When I run the scene, I get the following error:
E 0:00:01:0019 setup_local_to_scene: Condition “proxy.is_valid()” is true.
<C++ Source> scene/main/viewport.cpp:89 @ setup_local_to_scene()

Am I missing something or configured incorrectly?

:bust_in_silhouette: Reply From: Game_gulf

i get the same error