Segmentation error in FTcpListener on Android without INTERNET permission
When packaging the project for Android, I used the UPL mechanism to remove unnecessary permissions, including network access permission:
The application, which runs fine with that permission, now crashes.
It seems the problem is with FTcpListener, which experiences a segmentation error (please see log).
I did not use FTcpListener in my code, I don't know why it is being executed.
Info: built for API level 19, OpenGL ES2, ATC. Problem observed both when launching from editor and when installing packaged .apk.
Edit: I looked at the possible source of the crash.
The log message
The crash is happening in ``FTcpListener::Init``. As I understand it, the FTcpSockerBuilder returns nullptr and then the
I would be grateful for your help.
Removing network permissions on a build that'll be launched will cause a crash on the Android device. If you're simply packaging it however, it will not require networking connection permissions. If you are packaging using cook on the fly, that'll be another reason why your project is crashing.
answered Dec 20 '16 at 10:10 PM
Wow, your app doesn't require internet access at all. This seems like a tough permission to revoke. Net access is central to many inbuilt features in an app.
There are many settings in an unreal project that need internet access, can you check that the settings that are dependent on internet access has been disabled ? Also there are plugins that are dependent on internet settings.
As far as android is concerned, there are many default files that are copied into an unreal project that need internet access. Check out the pic of my folder which contains many default files.
Check out your intermediate folder and see if you find any files that need internet access.
Your error feels like there is still some feature or setting that is dependent on internet/network access.
answered Dec 12 '16 at 08:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here