Skip to content

[3.x] Can't assign Resource's exported variable of type Script in Editor #108098

Closed as duplicate of#104126
@Celthim

Description

@Celthim

Tested versions

Godot 3.6 and 3.6.1

System information

Windows 11

Issue description

I use export Script variables in my Resources to be able to drag&drop effects for my cards in my game. It's not the first time I'm using this technique and have done it before in Godot 4 also. Until recently I was on Godot 3.5 and updated my project to Godot 3.6.
Since then, I can't drag&drop my scripts inside my Resources' variables. I tried on 3.6.1 and it doesn't work either.

Steps to reproduce

  • Create a Resource
  • Add a export(Script) variable
  • Create any Script
  • Try to drag&drop the script above in the Script variable of the Resource

Minimal reproduction project (MRP)

TestScriptExport.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions