0 votes

I've been trying to learn godot by myself, recently I tried to connect a shader in a tile map to another node but I'm still having trouble. Anyway, I don't know what recent change has caused this, but now whenever I try to play my scene, the console spits out repeating errors and Godot crashes. Can someone tell me what it means?

The error reads: Can't use get_node() with absolute paths from outside the active scene tree.

imgur link

in Engine by (20 points)

Is strange, looks like the scene got corrupted for some reason (maybe a tool/plugin?), look at the scene file with a text editor to find references of that absolute path mentioned there.

2 Answers

0 votes

From what the Console says. You need to load the resource Your GDScript file locally instead of just using getnode(). Add gettree()

by (202 points)
0 votes

ISSUE RESOLVED
Turns out that within my script-less tilemap was a tileset which had a script attached to it which didn't exist. Even trying to open this script from the inspector crashed Godot. Not sure how this happened, maybe a bug, but clearing the script field has made my scene run as normal again.

by (20 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.