03-16-2017 09:40 AM
03-16-2017 09:41 AM
03-16-2017 10:13 AM
03-16 10:07:20.301 3763 3793 W System.err: android.content.pm.PackageManager$NameNotFoundException: com.oculus.shimwow
03-16 10:07:20.301 3763 3793 W System.err: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:199)
03-16 10:07:20.301 3763 3793 W System.err: at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
03-16 10:07:20.301 3763 3793 W System.err: at com.unity3d.player.UnityPlayer.a(Unknown Source)
03-16 10:07:20.301 3763 3793 W System.err: at com.unity3d.player.UnityPlayer$b$1.handleMessage(Unknown Source)
03-16 10:07:20.301 3763 3793 W System.err: at android.os.Handler.dispatchMessage(Handler.java:98)
03-16 10:07:20.301 3763 3793 W System.err: at android.os.Looper.loop(Looper.java:158)
03-16 10:07:20.301 3763 3793 W System.err: at com.unity3d.player.UnityPlayer$b.run(Unknown Source)
Exception 2:03-16 10:07:21.011 3763 3793 W System.err: android.content.pm.PackageManager$NameNotFoundException: com.oculus.scimitarOther than that, everything seems fine in my logs and there aren't any other exceptions. I've attached the full logs to this post.
03-16 10:07:21.011 3763 3793 W System.err: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:199)
03-16 10:07:21.011 3763 3793 W System.err: at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
03-16 10:07:21.011 3763 3793 W System.err: at com.unity3d.player.UnityPlayer.a(Unknown Source)
03-16 10:07:21.011 3763 3793 W System.err: at com.unity3d.player.UnityPlayer$b$1.handleMessage(Unknown Source)
03-16 10:07:21.011 3763 3793 W System.err: at android.os.Handler.dispatchMessage(Handler.java:98)
03-16 10:07:21.011 3763 3793 W System.err: at android.os.Looper.loop(Looper.java:158)
03-16 10:07:21.011 3763 3793 W System.err: at com.unity3d.player.UnityPlayer$b.run(Unknown Source)
03-16-2017 10:21 AM
03-16-2017 10:46 AM
using UnityEngine;
using Oculus.Avatar;
using Oculus.Platform;
using Oculus.Platform.Models;
using System.Collections;
public class PlatformManager : MonoBehaviour {
void Awake () {
Oculus.Platform.Core.Initialize();
Oculus.Platform.Users.GetLoggedInUser().OnComplete(GetLoggedInUserCallback);
Oculus.Platform.Request.RunCallbacks(); //avoids race condition with OvrAvatar.cs Start().
}
private void GetLoggedInUserCallback(Message<User> message) {
if (!message.IsError) {
OvrAvatar[] avatars = FindObjectsOfType(typeof(OvrAvatar)) as OvrAvatar[];
foreach (OvrAvatar avatar in avatars) {
avatar.oculusUserID = message.Data.ID;
}
}
}
}
03-16-2017 12:09 PM
03-16-2017 11:10 PM
03-16-2017 11:42 PM
03-17-2017 12:21 AM