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

Can not create C# script type plugins, Cyclical issue #87930

Closed
HexBlit opened this issue Feb 4, 2024 · 3 comments
Closed

Can not create C# script type plugins, Cyclical issue #87930

HexBlit opened this issue Feb 4, 2024 · 3 comments

Comments

@HexBlit
Copy link

HexBlit commented Feb 4, 2024

Tested versions

This is reproducible on Godot v4.2.1.stable.mono

System information

Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 31.0.15.4633) - 13th Gen Intel(R) Core(TM) i9-13900KS (32 Threads)

Issue description

If you try to create a C# editor plugin in v4.2.1 mono using C# as the language it shows a cyclic error when the default new plugin files are generated after going through the create new plugin workflow.
Screenshot 2024-02-04 001344

Steps to reproduce

In the Mono Godot editor create a new blank project. Then go and create a new plugin, and set the language C# instead of gdscript.

A cyclic error will appear and prevent the plugin from being enabled.

Minimal reproduction project (MRP)

super_highlight_pro.zip

@AThousandShips
Copy link
Member

AThousandShips commented Feb 4, 2024

Did you uncheck the "activate now" checkbox in the plugin configuration?

If not then this is a duplicate of:

Otherwise it's a duplicate of:

@HexBlit
Copy link
Author

HexBlit commented Feb 4, 2024

I did not, it does that when you create new one with it auto activating. and gives the error anytime you try to activate it.

This is a duplicate of #84878 when I checked that one, I had to make sure I compiled the csharp script per the comments in that other issue.

There should be some polish on this to not auto activate on a C# script plugin, or run a compile task before activating.

@AThousandShips
Copy link
Member

Yes, there is, see that issue there's a PR for just that 🙂

Closing as a duplicate of that then, thank you for reporting

@AThousandShips AThousandShips closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2024
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