0 votes

Hi,

I'm having a bit of a trouble using exported NodePath variables with duplicated scenes.

In one scene, I have some exported variables of the type NodePath, and everything works like a charm.

Then, I decided to duplicate the scene (not inherited), change some nodes parameters, but not messing with the tree structure. But this time, some of the exported NodePath variables are just no right.

Example:
In the "original" scene, one variable points to "lantern/inputdetector"
But in the "duplicated" scene, the same variable points to "../../lantern/input
detector"

Both scenes' scripts are the same and inherits from the same custom script.

Kind regards,
Lucas Sene

Godot version 3.2.3
in Engine by (42 points)

Please log in or register to answer this question.

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.