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
Change usage of RequiredMemberAttribute to PreserveAttribute
Unity does not preserve members marked with attributes that inherit RequiredMemberAttribute, but do preserve members with attributes that inherit PreserveAttribute.
# Make SQLite3 class partial, to extend in another file
31
31
s/class SQLite3/partial class SQLite3/
32
32
33
-
# Make column attributes inherit Unity's RequiredMemberAttribute
33
+
# Make column attributes inherit Unity's PreserveAttribute
34
34
# This fixes managed code stripping removing getter/setter methods
35
-
s/public class (PrimaryKey|AutoIncrement|Indexed|MaxLength|Collation|NotNull|StoreAsText)Attribute : Attribute/public class \1Attribute : UnityEngine.Scripting.RequiredMemberAttribute/
35
+
s/public class (Column|PrimaryKey|AutoIncrement|Indexed|MaxLength|Collation|NotNull|StoreAsText)Attribute : Attribute/public class \1Attribute : UnityEngine.Scripting.PreserveAttribute/
0 commit comments