Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Object Manipulation Scene Broken #502

Open
maherahmedraza opened this issue Feb 16, 2019 · 6 comments
Open

Object Manipulation Scene Broken #502

maherahmedraza opened this issue Feb 16, 2019 · 6 comments

Comments

@maherahmedraza
Copy link

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?

@maherahmedraza
Copy link
Author

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)

@skunkworksGames
Copy link

There is a fix for the broken manipulation scene.

https://github.com/google-ar/arcore-unity-sdk/blob/0d6bcd3c9f7d8ef85d0505dc7355a08f2717f211/Assets/GoogleARCore/Examples/ObjectManipulation/Scripts/ManipulationSystem.cs

@MohammedYaseen97
Copy link

@skunkworksGames
Copy link

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. ;-)

@fredsa
Copy link
Member

fredsa commented Feb 20, 2019

See PR #501

@knightcube
Copy link

knightcube commented Mar 19, 2019

  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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants