Skip to content

Fix using __args argument on a patch targetting a method with an out bool parameter to fail on the Unity Mono platform#657

Merged
pardeike merged 1 commit intopardeike:masterfrom
xADDBx:master
Apr 4, 2025
Merged

Fix using __args argument on a patch targetting a method with an out bool parameter to fail on the Unity Mono platform#657
pardeike merged 1 commit intopardeike:masterfrom
xADDBx:master

Conversation

@xADDBx
Copy link
Copy Markdown
Contributor

@xADDBx xADDBx commented Apr 4, 2025

Discussion started here: https://discord.com/channels/131466550938042369/361891646742462467/1357738423535796244

A small reproduceable sample code is seen here (as a UnityModManager mod)
grafik

I added a fix and a test.

Note: I could only reproduce on the Unity Mono runtime. Testing on .NET or .NET Framework (at least the versions I tried) didn't produce the error under the same conditions.

See test case in #658

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants