Announcement

Collapse
No announcement yet.

Augmented Reality for UE4

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Hi, Adam and everyone. I am getting 'webcam init error' with unreal4.18.3 with iPhone 7, I have added the string on additional PList. Please let me know if there is any fix for that. Thanks in advance.
    Last edited by Shunxu; 02-16-2018, 02:44 AM. Reason: Forgot to be polite.

    Comment


      Hello,

      Plugin version 1.7 is not working with with 4.18.3. You will need the latest 1.10 version. Please send me your order id to info@unreal4ar.com and I'll send you a new download link for the updated version.



      Originally posted by Orkney View Post
      Hello, I hoped you could help me with these problems when packaging, I get about 500 in the Output log, they are all relating to the ARToolKitBaseAdvanced and custom pawns I have made based on the sample classes



      I am using engine version 4.18.3 and plugin version 1.7, however I did compile for engine 4.18. At least I think I did....
      AR plugin for UE4
      AR Virtual Mirror plugin for UE4
      Red Alert 2 VR remake
      Armed Island VR RTS

      Comment


        Can you please send me your device log ?

        Originally posted by Shunxu View Post
        Hi, Adam and everyone. I am getting 'webcam init error' with unreal4.18.3 with iPhone 7, I have added the string on additional PList. Please let me know if there is any fix for that. Thanks in advance.
        AR plugin for UE4
        AR Virtual Mirror plugin for UE4
        Red Alert 2 VR remake
        Armed Island VR RTS

        Comment


          Originally posted by AdamHorvath View Post
          Can you please send me your device log ?


          I am not sure how to generate device log if there isn't a crash, but if I just look at the device output from Xcode, here is what I find odd on each tick event

          "
          Feb 16 13:26:45 Shunxus-iPhone UE4Game[11036] <Notice>: [2018.02.16-21.26.45:703][170]LogScript: Warning: Accessed None trying to read property ARToolkit
          ARToolkitSimple_C /Game/Maps/ARToolkitSimple.ARToolkitSimple:PersistentLevel.ARToolkitSimple_C_0
          Function /Game/Maps/ARToolkitSimple.ARToolkitSimple_C:ExecuteUbergraph_ARToolkitSimple:01CA
          "

          Comment



            Hi, Adam and everyone! Is it possible to get marker position on the screen (not in 3D space) from blueprint? Thanks!

            Comment


              Hi,

              You can do that with ProjectWorldToScreen node
              https://docs.unrealengine.com/latest...WorldtoScreen/

              Originally posted by Shunxu View Post
              Hi, Adam and everyone! Is it possible to get marker position on the screen (not in 3D space) from blueprint? Thanks!
              AR plugin for UE4
              AR Virtual Mirror plugin for UE4
              Red Alert 2 VR remake
              Armed Island VR RTS

              Comment


                Originally posted by Shunxu View Post

                I am not sure how to generate device log if there isn't a crash, but if I just look at the device output from Xcode, here is what I find odd on each tick event

                "
                Feb 16 13:26:45 Shunxus-iPhone UE4Game[11036] <Notice>: [2018.02.16-21.26.45:703][170]LogScript: Warning: Accessed None trying to read property ARToolkit
                ARToolkitSimple_C /Game/Maps/ARToolkitSimple.ARToolkitSimple:PersistentLevel.ARToolkitSimple_C_0
                Function /Game/Maps/ARToolkitSimple.ARToolkitSimple_C:ExecuteUbergraph_ARToolkitSimple:01CA
                "
                Hi I am still having this trouble running the sample with an iOS device and would love to have any useful input

                iPhone 7 (iOS 11.2), UNREAL 4.18.3

                LogPlayLevel: ********** RUN COMMAND STARTED **********
                LogPlayLevel: Starting Client....
                LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 130.006416
                LogPlayLevel: Running: /usr/bin/env /usr/bin/instruments -w 'b4a0fad50b4ae45aedc62a6affca04037cf83631' -t 'Activity Monitor' -D "/Users/shunxuhuang/Desktop/ARPlugin_DEMO_v1_10/ARSampleUEv4_18/Saved/StagedBuilds/IOS/launch.trace" 'com.YourCompany.ARSample'
                LogPlayLevel: 2018-02-21 17:31:36.563 instruments[51460:371125] Advancing the horizon artificially, it was 10.306141sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:37.063 instruments[51460:371125] Advancing the horizon artificially, it was 10.805354sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:37.561 instruments[51460:371125] Advancing the horizon artificially, it was 11.303884sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:38.061 instruments[51460:371125] Advancing the horizon artificially, it was 11.803535sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:38.564 instruments[51460:371125] Advancing the horizon artificially, it was 12.306929sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:39.063 instruments[51460:371125] Advancing the horizon artificially, it was 12.805681sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:39.564 instruments[51460:371125] Advancing the horizon artificially, it was 13.306512sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:40.064 instruments[51460:371125] Advancing the horizon artificially, it was 13.806479sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:40.564 instruments[51460:371125] Advancing the horizon artificially, it was 14.306518sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:41.060 instruments[51460:371125] Advancing the horizon artificially, it was 14.802317sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:41.562 instruments[51460:371125] Advancing the horizon artificially, it was 15.304482sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:42.063 instruments[51460:371125] Advancing the horizon artificially, it was 15.806247sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:42.561 instruments[51460:371125] Advancing the horizon artificially, it was 16.303418sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:43.062 instruments[51460:371125] Advancing the horizon artificially, it was 16.804486sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:43.564 instruments[51460:371125] Advancing the horizon artificially, it was 17.306578sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:44.063 instruments[51460:371125] Advancing the horizon artificially, it was 17.805969sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:44.562 instruments[51460:371125] Advancing the horizon artificially, it was 18.304476sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:45.061 instruments[51460:371125] Advancing the horizon artificially, it was 18.804114sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:45.561 instruments[51460:371125] Advancing the horizon artificially, it was 19.303607sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:46.063 instruments[51460:371125] Advancing the horizon artificially, it was 19.805396sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:46.562 instruments[51460:371125] Advancing the horizon artificially, it was 20.304294sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:47.064 instruments[51460:371125] Advancing the horizon artificially, it was 20.806368sec behind (greater than 10sec!)
                LogPlayLevel: 2018-02-21 17:31:47.564 instruments[51460:371125] Advancing the horizon artificially, it was 21.307090sec behind (greater than 10sec!)
                LogPlayLevel: Completed Launch On Stage: Run Task, Time: 27.362166
                Last edited by Shunxu; 02-21-2018, 09:45 PM.

                Comment


                  oh man, its terrible, i cannot package it, keep on getting this error:
                  UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ERROR: cmd.exe failed with args /c "C:\UNREALengineSSD\SSD_editorprojects\ar_test_project\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug

                  what should i do? I tried a lot allready. It worked before!

                  Comment


                    Hi,

                    Possible solution here:
                    https://answers.unrealengine.com/que...r-ue-4181.html



                    Originally posted by wontonanimalchin View Post
                    oh man, its terrible, i cannot package it, keep on getting this error:
                    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ERROR: cmd.exe failed with args /c "C:\UNREALengineSSD\SSD_editorprojects\ar_test_project\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug

                    what should i do? I tried a lot allready. It worked before!
                    AR plugin for UE4
                    AR Virtual Mirror plugin for UE4
                    Red Alert 2 VR remake
                    Armed Island VR RTS

                    Comment


                      Originally posted by Artsis View Post

                      This is because you are using the demo version.
                      The demo version only works in the editor for building it you need a license.
                      Ahhh, been looking for the solution for a few days. It will be helpful if you specify it somewhere on the website.

                      Comment


                        Originally posted by Shunxu View Post

                        Ahhh, been looking for the solution for a few days. It will be helpful if you specify it somewhere on the website.
                        Actually it is there: "Editor binary version for Windows / OSX"

                        I am glad it's working now!
                        Last edited by AdamHorvath; 02-26-2018, 08:07 AM.
                        AR plugin for UE4
                        AR Virtual Mirror plugin for UE4
                        Red Alert 2 VR remake
                        Armed Island VR RTS

                        Comment


                          Not able to package or launch on IOS device. Opened the blueprints and have several errors. ARToolkit variable not found, Get Camera Frame Variable not found, and several others pertaining to ARToolkit. Can someone give me some step by step instructions on how to install this properly or how I can adjust the blueprint to get rid of the errors?

                          Comment


                            Hello,

                            Check out the iOS section:
                            http://ar.uplugins.com/getting-started-full-version/

                            First you need to compile the plugin using xCode. It's an automatic process.
                            After that you can use the blueprint nodes, and package for iOS.


                            Originally posted by TheMechanic5 View Post
                            Not able to package or launch on IOS device. Opened the blueprints and have several errors. ARToolkit variable not found, Get Camera Frame Variable not found, and several others pertaining to ARToolkit. Can someone give me some step by step instructions on how to install this properly or how I can adjust the blueprint to get rid of the errors?
                            AR plugin for UE4
                            AR Virtual Mirror plugin for UE4
                            Red Alert 2 VR remake
                            Armed Island VR RTS

                            Comment


                              Hello AdamHorvath,
                              We are trying to make an augmented reality app on mobile (Android 5.1 and newer).
                              With unreal 4.18.3, we are using the plugin unreal4AR commercial version.

                              When we add the plugin to our project and launch it on mobile phone, it crashes instantly on the phone without any error in the logs.
                              Everything works until we actually add the plugin to the project, the build succeeds, but when the app opens it just crashes.

                              What can we do to find where the problem comes from?


                              Comment


                                Hello,

                                Try to disable the following plugins:

                                - OnlineSubsystemNull
                                - OnlineSubsystemUtils
                                - OnlineSubsystemGooglePlay
                                - Android Media Player

                                Originally posted by tam98 View Post
                                Hello AdamHorvath,
                                We are trying to make an augmented reality app on mobile (Android 5.1 and newer).
                                With unreal 4.18.3, we are using the plugin unreal4AR commercial version.

                                When we add the plugin to our project and launch it on mobile phone, it crashes instantly on the phone without any error in the logs.
                                Everything works until we actually add the plugin to the project, the build succeeds, but when the app opens it just crashes.

                                What can we do to find where the problem comes from?

                                AR plugin for UE4
                                AR Virtual Mirror plugin for UE4
                                Red Alert 2 VR remake
                                Armed Island VR RTS

                                Comment

                                Working...
                                X