Inconsistent exported NodePath

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

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/input_detector”
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