Nanior
Nanior
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
When my brother was trying to fix it he insisted that the only solution is to use .NET framework instead, which is why I decided to avoid MessagePack and try write my own
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
At least, it sounds like it makes sense
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
O.o Well, I had another look at MessagePack's documentation, and I see something I can try next time I work on my project... Might be that for some reason Unity6 doesn't automatically register the generated resolver like when I was trying IL2CPP, so I'll need to include the registry function
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
MessagePack is said to be very fast and compact, that's why I used it, but maybe it's not a robust design or something, idk, it just frequently ends up in trouble, mostly issues with custom type resolvers
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
Um... Idk that package, can try I guess
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
I can't access the project right now so I can't tell what exactly the issue is anymore
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
And turned out later that I'd need to use .NET framework instead, because for some reason it didn't wanna work normally when on .NET standard
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
Typically resolver issues, something about revolver not defined in standard resolver, or entirely not found
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
And now it's when I tried migrating to Unity6
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
Later I struggled with it for days again when trying IL2CPP for potentially faster runtime
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
I originally struggled with MessagePack a lot to get it to work in the first place
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
MessagePack always breaks badly, somehow
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
Back in mine, static interface methods must have a body, yours doesn't
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
Huh... Idk why it's working for you... Sure didn't when I did it? Is it Unity's C# version or something?
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
It's meant to be used for saving primarily, converting binary from and to other types
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
How would you write something like this?
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
That's why I'm asking, because I might need to step back and comepletely rethink the whole system, cus looks like my original plan is invalid in multiple ways
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
Basically apparently you can't normally call a static method by the type
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
I'm not giving it any arguments because look like it does not exist...
73 replies
CC#
Created by Nanior on 11/11/2024 in #help
Calling static method of interface via it's type
Might have to completely rethink how this is supposed to work...
73 replies