2d preview of 3d mesh as a scene

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

Hi everyone, I’m developing a 3d game with some items. I want to use the item’s 2d mesh to get a preview for the item’s icon.

So I got a node called ItemContainer that displays the node icon inside a SubViewportContainer, here’s the result:

But when I instance it within another node, it displays this:
stack container

Does anyone know how to fix it ? Or is it a bug that I should report ?

have you tried making the viewportcontainer the main/top node of the instanced scene?

zen3001 | 2022-06-26 13:40