Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

AR Package Warnings

Discussion in 'Handheld AR' started by Eastedge, Jul 11, 2018.

  1. Eastedge

    Eastedge

    Joined:
    Dec 22, 2016
    Posts:
    2
    Hi,

    I upgraded to 2018.2 last night an now I'm getting console warnings that runtime package files are conflicting with cache packages in the library:

    GUID [dbca4b5d18c5b4a59ad11c981347242d] for asset 'Packages/com.unity.xr.arkit/Runtime/iOS/UnityARKit.a' conflicts with:
    '/Users/matt/Library/Unity/cache/packages/packages.unity.com/com.unity.xr.arkit@1.0.0-preview.12/Runtime/iOS/UnityARKit.a' (current owner)
    We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

    Also getting warnings like this in the console when running in editor:

    Found 2 XRSessionSubsystemDescriptors. Using "ARCore-Session"
    UnityEngine.XR.ARFoundation.ARCameraBackground:OnEnable()

    Found 2 XRCameraSubsystemDescriptors. Using "ARCore-Camera"
    UnityEngine.XR.ARFoundation.ARCameraBackground:OnEnable()

    ...

    Any thoughts?
     
  2. Saicopate

    Saicopate

    Joined:
    Sep 25, 2017
    Posts:
    36
    Same here.
     
  3. WolfBeardedLion

    WolfBeardedLion

    Joined:
    Apr 5, 2013
    Posts:
    27
    I am also getting 3 GUID warnings in the console after updating to Unity 2018.2; these warnings pop up every time you return focus to the Unity Editor. Two are related to ARKit and one is related to ARCore.

    These warnings act the same way in the current AR Foundation Sample project as well.

    I can't find a way to clear this warnings.
     
  4. plotkids

    plotkids

    Joined:
    Nov 13, 2014
    Posts:
    1
    Same here.
     
  5. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    268
    Yep, the GUID warnings are known. They should be harmless, though. Are they causing any other issue besides unwanted spam?
     
  6. mdurand

    mdurand

    Unity Technologies

    Joined:
    Aug 1, 2016
    Posts:
    18
    WolfBeardedLion likes this.
  7. WolfBeardedLion

    WolfBeardedLion

    Joined:
    Apr 5, 2013
    Posts:
    27
    Not that I have witnessed. They are simply annoying. :)
     
  8. sand_lantern

    sand_lantern

    Joined:
    Sep 15, 2017
    Posts:
    41
    I don't know if they're related but I'm getting those warnings, everything in my project is pink now (Updated this morning from 2018.1.x)

    I'm also getting a bunch of errors similar to this:
    Shader error in 'Deferred.compute': undeclared identifier 'EvalShadow_SampleClosestDistance_Punctual' at kernel Deferred_Indirect_Fptl_Variant20 at LightLoop/Shadow.hlsl(121) (on d3d11)
     
  9. Prathamesh_Prasade

    Prathamesh_Prasade

    Joined:
    Dec 5, 2017
    Posts:
    2
    Can someone please comment on the below warnings, I got them when I created a new unity project, added ARFoundation and ARCore XR Plugin and ARKit XR Plugin from package manager and later on imported a package file containing the ARFoundationSamples project:

    Found 2 XRSessionSubsystemDescriptors. Using "ARCore-Session"
    UnityEngine.XR.ARFoundation.ARSession:OnEnable()

    Found 2 XRCameraSubsystemDescriptors. Using "ARCore-Camera"
    UnityEngine.XR.ARFoundation.ARSession:OnEnable()

    Found 2 XRInputSubsystemDescriptors. Using "ARCore-Input"
    UnityEngine.XR.ARFoundation.ARSession:OnEnable()

    Found 2 XRDepthSubsystemDescriptors. Using "ARCore-Depth"
    UnityEngine.XR.ARFoundation.ARSession:OnEnable()

    Found 2 XRPlaneSubsystemDescriptors. Using "ARCore-Plane"
    UnityEngine.XR.ARFoundation.ARSession:OnEnable()

    Found 2 XRReferencePointSubsystemDescriptors. Using "ARCore-ReferencePoint"
    UnityEngine.XR.ARFoundation.ARSession:OnEnable()

    Found 2 XRRaycastSubsystemDescriptors. Using "ARCore-Raycast"
    UnityEngine.XR.ARFoundation.ARSession:OnEnable()
     
  10. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    268
    Sounds like you are trying to play in the Editor. In the Editor, Unity sees both ARCore and ARKit as possible AR implementations and warns you that it sees two but will only be able to use one at runtime. On an Android or iOS device, there should only be one package present, so you shouldn't get this warning.
     
  11. Prathamesh_Prasade

    Prathamesh_Prasade

    Joined:
    Dec 5, 2017
    Posts:
    2
    Got it. Thanks.
    Currently I am developing a demo which is expected to work on both iOS and android platform, hence the case.

    Another question : Is there any way to test in editor or using something like unity remote?
     
  12. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    268
    adamhill likes this.
  13. SonuIxia

    SonuIxia

    Joined:
    Sep 3, 2018
    Posts:
    1
    How to disable horizontal or vertical plane detection in AR Foundation ?? Please help as I see there is no configuration related to turning on/off either of these planes.
     
  14. whogas

    whogas

    Joined:
    Oct 18, 2013
    Posts:
    28
    You can subscribe to the ARPlaneManager's planeAdded event and then do a check for what the plane's alignment is, ignoring the ones you don't want, etc.

    My understanding is that having your app detect and track any planes will just increase the session's stability, so even if you don't want a certain orientation's planes for anything in particular, it can still help you out that your app is tracking them.
     
  15. VirendraBhoriwal

    VirendraBhoriwal

    Joined:
    Apr 18, 2017
    Posts:
    2
    @Unity Technologies: I was just very curious to do Image Detection, Tracking, Object Recognition, Save & Load AR Scenes in AR Foundation. But I see these are not supported in AR Foundation. Just wanted to know when these features will be available to us ?? Thanks !
     
  16. VirendraBhoriwal

    VirendraBhoriwal

    Joined:
    Apr 18, 2017
    Posts:
    2
    I want to turn off Horizontal or Vertical Plane Detection. Is this possible in AR Foundation ? If yes, then how can I achieve the same ?
     
  17. virendra_bhoriwal

    virendra_bhoriwal

    Joined:
    Oct 25, 2018
    Posts:
    3
    I am currently working with Mobile Joystick along with character movement. I placed the character 3D model on detected plane and controlled it with the joystick. That's fine. But When I move Mobile camera and trying to see the model with different angle, and then controlling the character using joystick, it goes in wrong direction. Could you please help me what's going wrong ?
     
  18. JayMounes

    JayMounes

    Joined:
    Oct 17, 2016
    Posts:
    155
    1.) Post your own thread about that topic.

    2.) Edit your post, don't repeatedly post.

    3.) Use one account. (wow!)

    4.) DO YOUR OWN HOMEWORK


    Is there any news about this? Anything I can do to remove these > 1,000 editor warnings? They're bogging down the performance of my editor.

    Edit: I have some guesses about why the preview does this, and I understand it's probably not a problem to be fixed but rather a symptom of the system being in preview.

    That said, SRP/LWRP and the shader graph seem fun to mess with, and I want to. Any ballpark on when SRP will be finalized? Even just "some time 2019, hopefully?" I'm excited about it.

    Unity Hub is awesome!
     
    Last edited: Nov 2, 2018