Unity-Technologies / uaal-example

Other
736 stars 234 forks source link

MainUnityActivity doesn't show logs or trigger breakpoints #54

Open palmex opened 2 years ago

palmex commented 2 years ago

When trying to add functionality to the Android<->Unity interface and debug it, I cannot get a breakpoint to trigger or logs to show in the MainUnityActivity class. Even something as simple as onCreate. Can someone please explain to me how this class is used? It seems that it's being built during compile time..

Is there a way to have a constantly updating String shared between MainActivity and MainUnityActivity?

harisf3 commented 1 year ago

Unity runs on a different process, you can attach debugger to process manually once unity is started