Search Feedback

141
votes

Integrating Unity With native iOS Project

Platforms

-

-

Problem: Invalid when integrating unity/Vuforia into an existing iOS App.

Xcode version:8.2.1
iOS SDK:10.2
Vuforia version: 6.2.6
Unity version:5.5.0f3
Hardware/OS:macOS 10.12.2

I followed the instructions from this article(https://the-nerd.be/2015/11/13/integrate-unity-5-in-a-native-ios-app-with-xcode-7/). It did run on my iPhone 6s Plus. However, when the application launches, it jumps directly into Vuforia scene, and the Image Recognize function won't work.
And I think the whole process is way too complex.
It'd be great that we can integrate unity project into the existing iOS native project directly.

Comments (3)

  1. 79cc849038ad43926b2611fdd1ef1ef7?d=mm

    CharlesBarros

    Jul 18, 2018 14:31

    We made our own integration based on the "the-nerd.be" and later integrated some enhancements made by jiulongw: https://github.com/jiulongw/swift-unity/commits/master

    It's stable and running for more than 1 year, but every Unity update is a real pain to make everything work as intended. It would be awesome if Unity provides this kind of integration.

    There is a bunch of huge native apps that would benefit to have Unity integrated, but that can't afford the risk or even dunno that this is possible so it's never considered.

  2. 8b24c70b9db0cda38e12cc4ee91630da?d=mm

    youvisit

    Jan 11, 2018 18:05

    I agree with this strongly. A year and a half ago I went through the painful hacking to integrate Unity into an iOS app. Major releases continue to be a pain as integration code changes constantly, particularly in the 2017 releases.

    Unity should be as a Framework, which will allow bundling and building the code as a module and integrating it into an app as other Frameworks are. This is a standard and well understood workflow that should be a no-brainer for experienced engineers.

    Also, please stop messing around with orientation. As of 2017.3, you still haven't gotten it right and there's absolutely no reason to not let the native view system manage all this.

    It might be time to hire an iOS developer to help you sort all this out.

  3. 75c8587aa7af851e19d2709309728240?d=mm

    eseedo

    Jan 11, 2017 12:55

    Actually I think it's vital important for making integration Unity scene into native iOS App much easier.
    Considering the need of AR development, this problem will be a hurdle.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10750)

2D

(281)

Ads

(54)

AI & Navigation

(81)

Analytics

(130)

Animation

(395)

Asset Store

(355)

Asset Store Publisher

(15)

Assets

(543)

Audio

(184)

Cloud Build

(144)

Collaborate

(63)

Docs & Tutorials

(239)

Editor

(2507)

Everyplay

(17)

Game Performance Reporting

(21)

General

(978)

Graphics

(869)

GUI

(430)

Input

(172)

Licensing

(90)

Networking

(188)

Physics

(383)

Platforms

(440)

Profiling & Optimization

(84)

Runtime

(181)

Scripting

(1168)

Terrain

(170)

WebGL

(142)