KyryloKuzyk / AR-Foundation-Remote-support

Support page for the 'AR Foundation Remote' plugin on the Asset Store
https://assetstore.unity.com/packages/tools/utilities/ar-foundation-remote-2-0-201106
9 stars 0 forks source link

HumanBodySubsystemSender - NullReferenceException #83

Closed moninm closed 11 months ago

moninm commented 1 year ago

Unity Version : 2022.3.8f1 / MacOS AR Foundation Remote : 2.0.32-release.0 Phone : iPhone 13 Pro Max - iOS 16.6

After the installation on iPhone 13 Pro Max device, I got this error thrown when app starts :

Uploading Crash Report NullReferenceException: Object reference not set to an instance of an object. at ARFoundationRemote.Runtime.Sender.RegisterEditorEventSubscriber (ARFoundationRemote.Runtime.IEditorEventSubscriber subscriber) [0x00000] in <00000000000000000000000000000000>:0 at ARFoundationRemote.Runtime.FaceSubsystemSender.OnEnable () [0x00000] in <00000000000000000000000000000000>:0 at ARFoundationRemote.Runtime.SetupARFoundationVersionSpecificComponents.init () [0x00000] in <00000000000000000000000000000000>:0 ARFoundationRemote.Runtime.SetupARFoundationVersionSpecificComponents:init()

Uploading Crash Report NullReferenceException: Object reference not set to an instance of an object. at ARFoundationRemote.Runtime.HumanBodySubsystemSender+<>c.b__1_0 (UnityEngine.SceneManagement.Scene , UnityEngine.SceneManagement.LoadSceneMode ) [0x00000] in <00000000000000000000000000000000>:0

manifest.json.txt Settings.asset.txt

moninm commented 1 year ago

FYI The issue is not present on 2022.3.7f1 version of Unity

KyryloKuzyk commented 1 year ago

Hi,

Thank you for reporting the issue!

I just tested these several setups with Body Tracking, 2022.3.8f1, AR Foundation 5.0.7, and they all worked fine:

Can you please check that there are no other errors in the AR Companion app before the crash happens?

Another option to isolate the issue from other dependencies is to build the AR Companion from a fresh project:

Can I build the AR Companion app from another (or newly created) project to speed up build time?
Yes! Please ensure that your projects:

  • Have the same version of Unity and the same AR packages (AR Foundation, AR Subsystems, etc.).
  • Have the same color space.
  • Use the same 'Active Input Handling'.
  • Use the same Render Pipeline settings.
KyryloKuzyk commented 11 months ago

Please re-open the issue if you have any more info on it.