Replies: 2 comments 1 reply
-
Make sure the Latios Framework is installed in your Packages directory rather than in the Library PackageCache. Then delete the Kinemation directory. Out of curiosity, which modules are you using? |
Beta Was this translation helpful? Give feedback.
-
Thank you! Sadly now there is another error:
Any hints? I must say that I simply added the Latios These are the contents of using System;
using System.Collections.Generic;
using Latios;
using Latios.Authoring;
using Unity.Entities;
[UnityEngine.Scripting.Preserve]
public class LatiosConversionBootstrap : ICustomConversionBootstrap
{
public bool InitializeConversion(World conversionWorldWithGroupsAndMappingSystems, CustomConversionSettings settings, ref List<Type> filteredSystems)
{
var defaultGroup = conversionWorldWithGroupsAndMappingSystems.GetExistingSystem<GameObjectConversionGroup>();
BootstrapTools.InjectSystems(filteredSystems, conversionWorldWithGroupsAndMappingSystems, defaultGroup);
Latios.Psyshock.Authoring.PsyshockConversionBootstrap.InstallLegacyColliderConversion(conversionWorldWithGroupsAndMappingSystems);
//Latios.Kinemation.Authoring.KinemationConversionBootstrap.InstallKinemationConversion(conversionWorldWithGroupsAndMappingSystems);
return true;
}
}
[UnityEngine.Scripting.Preserve]
public class LatiosBootstrap : ICustomBootstrap
{
public unsafe bool Initialize(string defaultWorldName)
{
var world = new LatiosWorld(defaultWorldName);
World.DefaultGameObjectInjectionWorld = world;
var systems = new List<Type>(DefaultWorldInitialization.GetAllSystems(WorldSystemFilterFlags.Default));
BootstrapTools.InjectSystems(systems, world, world.simulationSystemGroup);
CoreBootstrap.InstallImprovedTransforms(world);
Latios.Myri.MyriBootstrap.InstallMyri(world);
//Latios.Kinemation.KinemationBootstrap.InstallKinemation(world);
world.initializationSystemGroup.SortSystems();
world.simulationSystemGroup.SortSystems();
world.presentationSystemGroup.SortSystems();
ScriptBehaviourUpdateOrder.AppendWorldToCurrentPlayerLoop(world);
return true;
}
} This setup works fine in the Unity Editor and in the Windows executable of my game.
Currently we are only interested in MyriAudio. Thank you very much for this great module! Update: I just have found the cause of the AOT error! I forgot to set the IL2CPP Code Generation to Faster (smaller) builds. Now it runs on Android. |
Beta Was this translation helpful? Give feedback.
-
It looks like there is no native support for AclUnity on Android.
Since I don't need it in my project - can I somehow skip it, e.g. by excluding Kinemation? How would I do this?
Beta Was this translation helpful? Give feedback.
All reactions