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

EditorPlugin Class Throws An Error When Exporting to Android #86013

Open
ArshvirGoraya opened this issue Dec 10, 2023 · 0 comments
Open

EditorPlugin Class Throws An Error When Exporting to Android #86013

ArshvirGoraya opened this issue Dec 10, 2023 · 0 comments

Comments

@ArshvirGoraya
Copy link

Tested versions

4.2.Stable
4.1.1.Stable

System information

Android

Issue description

When exporting to Android, the following error is thrown:

Parser Error: Could not find type "EditorPlugin" in the current scope.

This does not occur when exporting to Windows.

The following issue states that the EditorPlugin SHOULD throw an error during runtime: #19669

If this is the case, it's confusing why it only occurs for Android.

Video demonstrating exporting to Windows Vs Android here: https://youtu.be/SMKFMsMt5Wg

Steps to reproduce

Insert following line of code in any script and one-click deploy to android with "Deploy with Remote Debug" enabled.
var editor_plugin : EditorPlugin

The error is thrown whether the script is a @tool script or not.

Minimal reproduction project (MRP)

EditorPluginBug.zip

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

No branches or pull requests

2 participants