Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by GerDner · Oct 10, 2017 at 10:47 AM · iosplugindebugging

ARKit Plugin and ARKitRemote - how to develop in the Editor

Hi guys,

i was trying out the new ARKit Plugin. I got Unity 2017.1 and a Iphone 7 Plus with IOS 11.1 beta. ARKit Remote Debugging is working nice.

Problem: i want to run Apps in the Editor and use the Iphone for the AR capabilities. When i run the example projects, they are not working. Because they depend on touch inputs. So basically i rewrote those scripts to use mouse input instead.

I also looked at the "UnityARSessionNativeInterface". Lot's of code is useless in "UNITY_EDITOR" mode. For example the HitTest API (return just an empty object without a notice). So the ARKit Example is useless in the Editor, although the ARKit Remote Plugin is running.

Am I missing something? How should i code an app without deploying it everytime manually on the device with xcode? Whats the point of the ARKit Remote Plugin if i can't use ARKit in the Editor?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by cstenson · Oct 12, 2017 at 08:53 AM

Hi!

(updated to answer question, which I missed first time)

I think what you are looking for is ARKit Remote and hittest using the editor. All is included in the ARKit unity package. I have worked with it for the last months and even if it is not perfect it is sometime nice to debug with AR capabilities in the editor. I would say that ARKit remote isn't perfect but a lot more convinient than building the app all the time :)

You can simulate touch inputs with mouse in ARKit Remote basicly clicking in the editor to simulate touch input on device. Which uses EditorHitTest.cs to make it possible. The only odd thing is to click on the gameview in unity and not the actual device:)

Link to blogpost introducing ARKit Remote: https://blogs.unity3d.com/2017/08/03/introducing-the-unity-arkit-remote/

Hope it helps! And that the updated answer is actually answering the question :)

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image GerDner · Oct 12, 2017 at 09:10 AM 0
Share

Hi cstenson,

as i stated in my description, im using AR$$anonymous$$it Remote. For example, i want to test Object-Placement in the Editor. But you can't because hitTests always return an empty List (Because of #if !UNITY_EDITOR). Some APIs do not work in the Editor or im missing something.

avatar image cstenson GerDner · Oct 12, 2017 at 09:13 AM 1
Share

okay (early morning apparently here, sorry) You can simulate touch inputs with mouse in AR$$anonymous$$it Remote basicly clicking in the editor to simulate touch input on device. Which basicly uses EditorHitTest.cs to make it possible. The only odd thing is to click on the gameview in unity and not the actual device:)

avatar image GerDner cstenson · Oct 12, 2017 at 09:18 AM 0
Share

Ok so i was missing something. I didnt see the EditorHitTest.cs File. Thx!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

146 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity cloud build iOS documentation is missing. Is there a guide for debugging? 0 Answers

iOS/Xcode: Duplicate Symbols 1 Answer

symbol(s) not found for architecture arm64: Please Help! 1 Answer

Monodevelop / VS not listing iOS device 0 Answers

Workflow for troubleshooting bugs on iOS device? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges