Add base child in base null instance on null instance

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

E 0:00:00.538 get_node: (Node not found: “tileContain/GridContainer” (relative to “/root/Main Scene/Node2D”).)
<C++ Error> Condition “!node” is true. Returned: __null
<C++ Source> scene/main/node.cpp:1371 @ get_node()
Main @ _ready()

tileContainer is loaded on Inspector
extends Node2D

var scene = preload(“res://tile.tscn”)

Declare member variables here. Examples:

var a = 2

var b = “text”

Called when the node enters the scene tree for the first time.

func _ready():

for i in 729:
	var scene_instance=scene.instance()
:bust_in_silhouette: Reply From: exuin

It doesn’t matter if tileContainer is loaded in the inspector. The error means that your node path is incorrect. There is no tileContain/GridContainer child of Node2D. Check your spelling.