|Topic was automatically imported from the old Question2Answer platform.
this code spawns the dialogue scene into the canvaslayer
var dialoguebar = dialogue.instance()
#does spawn, but not visible
dialoguebar.position = position
replacing the textbox with another scene to instance still instances a non-visible scene
making it instance as a child of the scene that runs the code instead of a child of CanvasLayer also makes the textbox not visible, but a different object spawned that way is visible
Objects already in the canvaslayer, like a health UI, or the scene i am trying to spawn, when the game starts are visible, but when they are instanced at runtime, they are not visible
the function does get called, the right scene is attached and does get deployed into the world. I’m not sure what else to share that would be relevant to this issue.