By awesometechnologies
on Thu, 05/24/2018 - 16:24
I have modified an Android application that was exported from Unity and is using Vuforia.
When the Android Activity starts I can successfully send messages to Unity using UnityPlayer.UnitySendMessage(). This works in onCreate(), onStart() and onResume() but not in any button handler.
So I created a Timer that calls UnityPlayer.UnitySendMessage() every 500ms. The first 15 calls arrive in Unity but after I see the Vuforia initialization in Logcat no more messages get through.
Could it be that my game object that I send messages to gets deleted from the scene by Vuforia?
Best regards, Manuel