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

Make column attributes inherit Unity's PreserveAttribute #53

Merged
merged 2 commits into from
Feb 15, 2025

Conversation

gilzoide
Copy link
Owner

This fixes managed code stripping removing getter/setter methods. Fixes #52.

This fixes managed code stripping removing getter/setter methods
Unity does not preserve members marked with attributes that inherit RequiredMemberAttribute, but do preserve members with attributes that inherit PreserveAttribute.
@gilzoide gilzoide changed the title Make column attributes inherit Unity's RequiredMemberAttribute Make column attributes inherit Unity's PreserveAttribute Feb 15, 2025
@gilzoide gilzoide merged commit 4f245ca into main Feb 15, 2025
10 checks passed
@gilzoide gilzoide deleted the bugfix/avoid-column-stripping branch February 15, 2025 11:52
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.

Unity Exception: Cannot create a table without columns (class not used so its removed by stripping )
1 participant