We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What is the current behavior?
YarnSpinner.Unity.SourceCodeGenerator\ActionRegistrationSourceGenerator\YarnActionRegistration-PROJECTNAME.Generated.cs(23,67): error CS1503: Argument 2: cannot convert from 'method group' to 'Delegate' YarnSpinner.Unity.SourceCodeGenerator\ActionRegistrationSourceGenerator\YarnActionRegistration-PROJECTNAME.Generated.cs(24,73): error CS1503: Argument 2: cannot convert from 'method group' to 'Delegate' YarnSpinner.Unity.SourceCodeGenerator\ActionRegistrationSourceGenerator\YarnActionRegistration-PROJECTNAME.Generated.cs(55,60): error CS1503: Argument 2: cannot convert from 'method group' to 'Delegate'
Please provide the steps to reproduce, and if possible a minimal demo of the problem: Just import development/v3 branch in Unity 2022.3.22f1.
What is the expected behavior? Generated code should compile without any errors.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered:
Managed to narrow down which command is producing invalid generated code:
[YarnCommand("test")] public static IEnumerator Test() { yield return null; }
However, these signatures produce valid code:
public static void Test()
public static IEnumerator Test(string parameter)
public IEnumerator Test()
So I would deduce that in order to generate broken code, method tagged with YarnCommandAttribute must:
YarnCommandAttribute
Note that methods with same signature didn't cause any issues with Yarn 2.4.
Sorry, something went wrong.
No branches or pull requests
What is the current behavior?
Please provide the steps to reproduce, and if possible a minimal demo of the problem:
Just import development/v3 branch in Unity 2022.3.22f1.
What is the expected behavior?
Generated code should compile without any errors.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: