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
Il2CppInterop happens to generate non valid method/type names with some unicode characters.
In my case, it occurs with the Rewired library, it produces the following type name: Il2CppRewired_Core.dll Has an Invalid Type Name String "MethodInfoStoreGeneric_nqXVGKvgfzozBIAcnvWAyMFzaDld_Internal_Static_Int32_IList_1_☺_Predicate_1_☺_Int32_0`1"
which contains two SOH (U+0001) characters.
Here is the method prototype that causes the issue: internal static int nqXVGKvgfzozBIAcnvWAyMFzaDld<\u0001>(IList<\u0001> P_0, Predicate<\u0001> P_1, int P_2) where \u0001 : Element
It could be that the generic type arguments are not protected against invalid characters
laymain
added a commit
to laymain/Il2CppInterop
that referenced
this issue
Jun 12, 2024
ds5678
changed the title
Rewired: non-valid Unicode characters in type name
Rewired: non-valid Unicode characters in generic parameter name
Jul 15, 2024
Hi,
Il2CppInterop happens to generate non valid method/type names with some unicode characters.
In my case, it occurs with the Rewired library, it produces the following type name:
Il2CppRewired_Core.dll Has an Invalid Type Name String "MethodInfoStoreGeneric_nqXVGKvgfzozBIAcnvWAyMFzaDld_Internal_Static_Int32_IList_1_☺_Predicate_1_☺_Int32_0`1"
which contains two
SOH
(U+0001) characters.See LavaGang/MelonLoader#659
The text was updated successfully, but these errors were encountered: