Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"File" class not available in EditorPlugin script? #50922

Closed
everythingandnothingdev opened this issue Jul 27, 2021 · 1 comment
Closed

"File" class not available in EditorPlugin script? #50922

everythingandnothingdev opened this issue Jul 27, 2021 · 1 comment
Labels

Comments

@everythingandnothingdev
Copy link

everythingandnothingdev commented Jul 27, 2021

Godot version

4.0dev (1f69582)

System information

Windows 10, Vulkan, RTX 2080

Issue description

This seems like a basic thing, but can't seem to access File class from an editor plugin.

image

Steps to reproduce

Create a plugin with this script

@tool
extends EditorPlugin

func _enter_tree():
    var file = File.new()

Minimal reproduction project

No response

@akien-mga
Copy link
Member

Duplicate of #50831, this was fixed already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants