Fixing the Unity3D 5.3 startup error on Linux

If you experience this error with the newest Unity3D Build on Linux, just do this one simple step: Create the folder ~/.local/share/unity3d and you are good to go! Now have fun with Unity! In more detail, the “main” error message in ~/.config/unity3d/Editor.log is CopyPackageFile failed, unable to copy /opt/Unity/Editor/Data/Resources/Packages/unity-editor-home-0.0.7.tgz to /home/luca/.local/share/unity3d/Packages/unity-editor-home-0.0.7.tgz CopyPackageFile failed, unable to copy /opt/Unity/Editor/Data/Resources/Packages/unityeditor-cloud-hub-0.0.1.tgz to /home/luca/.local/share/unity3d/Packages/unityeditor-cloud-hub-0.0.1.tgz ...

Cross-compiling native Linux applications for Android

Here’s how you can cross-compile “normal” Linux applications for Android! Note, that I cannot give you any help in following this. It worked(tm) when I wrote this but don’t know about now. For the android_configure script download this script, place it in your ~/bin folder and (if not already) add ~/bin to your PATH variable. To create a standalone toolchain use something like the following command (run from your NDK root-dir): build/tools/make_standalone_toolchain.py --arch arm --api 21 --stl gnustl -v --install-dir /home/luca/Android/standalone-toolchain Ncurses Add ac_cv_header_locale_h=no to your android_configure script to the line export CC (example: export CC=${CROSS_PATH}/${CROSS_COMPILE}-gcc ac_cv_header_locale_h=no) ...

Google Play Services with Android 6.0 Marshmallow and Genymotion

So, I think you want to install the Google Play Store & Services with an Android 6.0 Marshmallow Emulator? To do that, follow either the long or the short version. You need the following three files: Genymotion-ARM-Translation_v1.1.zip gapps-L-4-21-15.zip benzo-gapps-M-20151011-signed-chroma-r3.zip Short version: Download all three files. Create an emulator with the Nexus 5X image and start it. Flash Genymotion-ARM-Translation_v1.1.zip and reboot. Flash gapps-L-4-21-15.zip and reboot. Sign into your Google Account. Flash benzo-gapps-M-20151011-signed-chroma-r3.zip and reboot. You are finished! Long version: ...

SSH on Android

Installing the SSH binary on Android (for use with adb shell): Install SSHDroid Launch SSHDroid and accept the superuser request Then make sure you have your Android device connected with access to adb! $ adb shell $ su $ mount -o rw,remount /system $ cp /data/data/berserker.android.apps.sshdroid/dropbear/ssh /system/bin/ssh ...

Deploying Unity WebGL with Apache

Have you had troubles getting your exported Unity WebGL project to work? GET /Release/UnityConfig.js 404 (Not Found) GET /Release/fileloader.js 404 (Not Found) GET /Release/1446299115.js 404 (Not Found) I got the instructions here: Export your Unity project as WebGL (probably already did this). Move every file from the Release folder into the Compressed folder. You can now delete the Release folder. Your folder structure should look like this: .htaccess index.html Compressed * many files (.datagz, .jsgz, .memgz) TemplateData * many image files, 1 .css & 1 .js file Enter sudo a2enmod rewrite in the terminal (to activate the rewrite Apache module). ...