You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After finishing the creating a plugin using the Create New Plugin flow, a warning popup appear all red making it impossible to know what the warning is about.
Steps to reproduce
Go to Project Settings
Under the Plugins tab, create a new plugin
Fill up the detail (I created a C# script)
A warnning should appear after closing the creation window
Looking at the console, this could be the warning Another resource is loaded from path 'res://addons/my_other_plugin/OtherPlugin.cs' (possible cyclic resource inclusion).
You probably had the Active now? option checked. In this case, the warning should look like this:
This is because C# scripts needs to be built before the plugin can be activated, so the Active now? option should always be unchecked for C# plugins. This is mentioned in the Making plugins documentation page.
This seems to be a rendering issue. I can reproduce it in Linux with v4.1.stable.mono.official [9704596] and v4.0.1.stable.mono.official [cacf499] but not with 4.0. I also can't reproduce with Single Window Mode.
Looks like it might be a regression from #73365. cc @bruvzg
This is because C# scripts needs to be built before the plugin can be activated, so the Active now? option should always be unchecked for C# plugins. This is mentioned in the Making plugins documentation page
Would it make sense to hide it if C# is selected?
Feels like a better UX if there is no case for the option to ever be enabled when C# is selected.
Yes, I agree the checkbox should be unchecked and disabled when you set the language to C#. A warning should also be displayed below to mention that the option isn't available for C# plugins. The UI has changed in 4.2: #76778
Godot version
4.2.dev.mono.custom_build.8e0346bad
System information
macOS
Issue description
After finishing the creating a plugin using the
Create New Plugin
flow, a warning popup appear all red making it impossible to know what the warning is about.Steps to reproduce
Looking at the console, this could be the warning
Another resource is loaded from path 'res://addons/my_other_plugin/OtherPlugin.cs' (possible cyclic resource inclusion).
Minimal reproduction project
CSPlugin.zip
The text was updated successfully, but these errors were encountered: