8000 Fix using __args argument on a patch targetting a method with an out bool parameter to fail on the Unity Mono platform by xADDBx · Pull Request #657 · pardeike/Harmony · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

xADDBx
Copy link
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

@xADDBx xADDBx mentioned this pull request Apr 4, 2025
@pardeike pardeike merged commit c3d6baa into pardeike:master Apr 4, 2025
1 check passed
pardeike added a commit that referenced this pull request Apr 4, 2025
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
0