-
-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
There are several issues with the IL2CPP build. These affect the current Android build of the main game on Google Play, see https://play.google.com/store/apps/details?id=com.ultrastar.UltraStarPlay
- There is a crash when using VisualElementEvents package with Unity 6000.2.9f1
- I opened a Unity bug report and removed this dependency for now
- This event is used to update styles and translations when VisualElements have been added at runtime. Because this has been removed, translations and styles are broken in many places in the current Android build on Google Play
- Newtonsoft.Json is too slow to handle hundreds of messages per second from the Companion app.
- I tried a workaround to use Unity's simpler Json implementation instead. But this is not elegant because JSON handling is now inconsistent.
- Furthermore, my workaround does not seem to work. This means the communication with the Companion app is broken at the moment on the Google Play build of the main game.
- Error message:
Received error message: Malformed conecction request: wrong message type.
- Error message:
- The Companion App does not show the song list. Seems like communication with the main game is broken.
- Could be again because of broken JSON communication because of Newtonsoft.Json. Or it could be another issue with IL2CPP and SimpleHttpServerForUnity
- UnityStandaloneFileBrowser does not work with IL2CPP backend
- There is an error from the linker. Not relevant for the Android build, but building for Windows with IL2CPP backend does not work right now. This is not a big issue because Windows can use the Mono backend instead. However, using IL2CPP can be helpful when debugging.
- Newtonsoft.Json.dll from NuGet is not compatible with Unity AOT compilation
- fixed by using Unity package fro Newtonsoft.Json instead: https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@3.2/manual/index.html
Details
Please provide additional information.
- Game version: v1.5.1-beta7
- Operating System and version: Google Play Android App Bundle (aab file) with IL2CPP scripting backend
Workaround
- Build the apk with Mono scripting backend manually if you want to play on Android
- It should have less issues.
- See https://github.com/UltraStar-Deluxe/Play/wiki/Download-and-Install#download-and-build-from-source-code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels