RomanZhu / Entitas-Sync-Framework

Networking framework for Entitas ECS. Targeted at turnbased games or other slow-paced genres.
MIT License
165 stars 20 forks source link

Error generating an APK #3

Open hugobritobh opened 5 years ago

hugobritobh commented 5 years ago

I am using the Git example to export to Android. However, it does not work.

I've tried using mono, Net Standard, Net 4.X and IL2CPP. The BitBuffer class of the error in the FromSpan method.

Have you generated an APK? I'm using Unity3D 2019.2

RomanZhu commented 5 years ago

Hi. I haven't tested it on Android. I will check it tomorrow and will let you know about how it goes.

RomanZhu commented 5 years ago

For some reason 'Scripting define symbols' property in Project Settings was reset after upgrading unity version. You need to add 'NETSTACK_SPAN' there.

I was able to build APK after that. Please try it and tell me if it works.

hugobritobh commented 5 years ago

In terms of compilation it worked, however have you ever tried to make an android connect to a windows application? localhost

hugobritobh commented 5 years ago

I can't log in and debug the APK (within Android).

Already tried changing to .NET 4.X, Net Standard and IL2CPP

I'll keep trying

RomanZhu commented 5 years ago

Will do today :D

RomanZhu commented 5 years ago

For some reason, GameController is getting disabled at startup only on Android. :/

If you enable it anyway and try to start server/client - strange things will happen. Seems like method interrupts in the middle. I just don't understand wtf is going on D:

hugobritobh commented 5 years ago

I even enabled it to show all sorts of messages, yet I didn't see any exceptions or errors in the Unity Console. This makes work harder :)

Em qui, 22 de ago de 2019 às 13:55, Roman Zhuravlev < notifications@github.com> escreveu:

For some reason, GameController is getting disabled at startup only on Android. :/

If you enable it anyway and try to start server/client - strange things will happen. Seems like method interrupts in the middle. I just don't understand wtf is going on D:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RomanZhu/Entitas-Sync-Framework/issues/3?email_source=notifications&email_token=ACAY5KQLGWGJ4RTQTBRQAZ3QF3AHBA5CNFSM4IN5ZJMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45W4YQ#issuecomment-523988578, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAY5KXJQRX2HJ42GQ7BA2DQF3AHBANCNFSM4IN5ZJMA .

-- Atenciosamente, Hugo de Brito V. R. Alves