LiteEntitySystem
LiteEntitySystem copied to clipboard
Add AOT support
Add AOT support
AOT support currently will require rewriting almost everything to SourceGenerators. This is a lot of work and time for feature that doesn't add much currently and in some places it works slower. IL2CPP supported for Unity.
AOT support currently will require rewriting almost everything to SourceGenerators.
Can you elaborate further? I thought that LiteNetLib and LiteEntitySystem were pure C#.
Do they rely on some native libraries?
@Odex64 LiteNetLib yes. LiteEntitySystem uses alot of Reflection that partially doesn't supported by AOT and specific IL hacky things (ILPart/RefMagic.il) that doesn't work in AOT build too.