Arcore-unity-sdk: Object Manipulation Scene Broken

Created on 16 Feb 2019  ·  6Comments  ·  Source: google-ar/arcore-unity-sdk

VERSIONS USED

  • Unity: 2018.3.5f1
  • ARCore SDK for Unity: 1.7.0
  • Device manufacturer, model, and O/S: Dell,i7559,Windows
  • ARCore:

I have download and built the ARCore 1.7 on Pixel2 with "Object Manipulation" scene. After scanning when I try to spwan object its not working. I have also test it with Instant preview and still get the same results. What can be the problem?

UX bug fixed in upcoming release

All 6 comments

PLEASE ALSO EXPLAIN WHAT IS THIS ERROR?
NullReferenceException: Object reference not set to an instance of an object
GoogleARCoreInternal.ARCoreAndroidLifecycleManager.ResetSession () (at Assets/GoogleARCore/SDK/Scripts/Managers/ARCoreAndroidLifecycleManager.cs:143)
GoogleARCore.ARCoreSession.OnDestroy () (at Assets/GoogleARCore/SDK/Scripts/ARCoreSession.cs:82)

I know, i also just had downloaded the original package and was going mad cause the scene wsa not working, then i found the fix. ;-)

See PR #501

  1. Go to Assets/GoogleARCore/Examples/ObjectManipulation/Scripts/ManipulationSystem.cs.
  2. Open Manipulation.cs script in Visual Studio.
  3. Replace it with the script given here. Then save it.
  4. Build the project again
  5. Voila! Enjoy.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

tavilad picture tavilad  ·  6Comments

a-kaul picture a-kaul  ·  3Comments

TakuKobayashi picture TakuKobayashi  ·  4Comments

GTaylorRabbit picture GTaylorRabbit  ·  5Comments

joshliebe picture joshliebe  ·  3Comments