Handling Unfocused State in UE4 Windows Packages (Sound Playback, GamePad Input)

Behavior When Unfocused I use UE4 for non-game purposes at work, often alongside other applications on Windows. A common pattern is creating the display part with UE4 and a controller-like part with WPF, then using them together. In this pattern, the focus inevitably goes to the WPF application, leaving the UE4 window unfocused. This caused the following problems: Sound cannot be heard GamePad input cannot be captured I couldn’t find solutions for these for a while, but after checking the Engine source, I found countermeasures for both, so I’m writing them down as a memo. ...

2020-05-31 · 3 min · 546 words · ayumax

Change from UProperty to FProperty (UE4 4.25)

Unreal Engine 4.25 Preview The other day, the Preview of UE4 4.25 became available for download. (As of writing this article, it is Preview 3) The contents are described on the following page. Unreal Engine 4.25 Preview - Unreal Engine Forums Among the many updates, the following item caught my eye. (The FProperty Refactor… part) The content is “From 4.25, UProperty has become FProperty and is no longer a UObject.” ...

2020-03-22 · 4 min · 833 words · ayumax

ObjectDeliverer Ver 1.5.0 Released - Enhanced Object Json Serialization Feature

Today, ObjectDeliverer Ver 1.5.0 was released to the Marketplace. ObjectDeliverer: ayumax: Code Plugins - UE4 Marketplace The main implementation this time is the enhancement of the Object Json serialization feature. I previously wrote about this as a current issue in a past article. Let’s Serialize UObjects to Json - AYU MAX This release implements features to improve the issues mentioned above. Implemented Items The following two items have been addressed. ...

2020-01-24 · 2 min · 397 words · ayumax

Creating a Remote Touch Display with UE4+ARKit

The other day, wanting to give shape to an idea I had, I created something like this ↓. ARKitを使ったリモートタッチパッドの実験。精度がまだ荒いけど基本的には上手くいってる。#ue4 #arkit pic.twitter.com/Kt5E5fPCQn — ayuma (@ayuma_x) December 26, 2019 When you trace your finger over the iPad, a line is drawn on the display inside the iPad, but when you remove the iPad, the same line is drawn on the actual display. This might be confusing at first glance, but actually, nothing is added to the iPad side display. Only the camera feed is shown on the iPad’s display. ...

2019-12-28 · 5 min · 942 words · ayumax

Let's Serialize UObjects to Json

This article is the 20th day post for the Unreal Engine 4 (UE4) Advent Calendar 2019. Unreal Engine 4 (UE4) Advent Calendar 2019 - Qiita I have a plugin called ObjectDeliverer published on the Marketplace. This article is about the “function to serialize objects to Json” implemented in this plugin. For example, if you have a Blueprint (inheriting from Object) with Variables defined like this, It will be converted into a Json string like this. ...

2019-12-20 · 8 min · 1704 words · ayumax

ObjectDeliverer Ver 1.4.0 Released - Added Feature to Get Sender IP Address

ObjectDeliverer Ver 1.4.0 Speaking of a few days ago, a new version of ObjectDeliverer has been released. (I meant to write a blog post but forgot) ObjectDeliverer: ayumax: Code Plugins - UE4 Marketplace Added Feature to Get Sender IP Address This feature is only available when the communication protocol is set to TCP/IP Server or UDP Receiver. With these two communication protocols, the sender can potentially have multiple IP addresses. ...

2019-10-20 · 2 min · 275 words · ayumax

Wanting to Write UE4 Scripts in C# (Experiment Edition)

Wanting to Write Scripts in C# I like UE4 C++. I have also released several C++ plugins on the Marketplace. However, since I also write a lot of C#, I sometimes think, “If only this were C#, it would be much easier to write.” Thinking about such things, I casually made the following post on Twitter. ふとUE4のスクリプトをC#で書きたいなあ。どうしたらいいかなあと考えていたんだけど、なかなかいい実装が思いつかない。 — ayuma (@ayuma_x) August 24, 2019 Then, I received this invitation from @kekyo2, and today I actually spent the whole day trying it out. ...

2019-09-15 · 6 min · 1202 words · ayumax

Sharing the Directory of an iOS App Made with UE4 via the Standard Files App

This is a method to check the contents of the directory within the package of an iOS app created with UE4 using the standard iOS Files app. Perform the following two steps in Project Settings under iOS: File System - Supports ITunes File Sharing Check ON Extra PList Data- Additional Plist Data Enter the following: <key>LSSupportsOpeningDocumentsInPlace</key>\n<true/>\n When you install the app created with the above settings on an iOS device, you can check the app’s contents from “On My iPad” in the standard Files app. ...

2019-08-28 · 1 min · 109 words · ayumax

Using ARKit Object Detection Feature in UE4

ARKit Object Detection Object detection is a feature available since ARKit 2. By registering data of pre-scanned objects, you can detect registered objects from the AR application you created. While there are several articles about using this feature with Unity, I couldn’t find any examples using UE4. I really wanted to use this feature in UE4 (4.22), and after various trials, I succeeded in getting it to work, so I’ll note down the method here. ...

2019-08-15 · 5 min · 888 words · ayumax

ObjectDeliverer Ver 1.3.0 Released - Multi-Platform Support

ObjectDeliverer Ver 1.3.0 Today, a new version of ObjectDeliverer has been released. ObjectDeliverer: ayumax: Code Plugins - UE4 Marketplace The contents are the following two points: Support for iOS, Android, Mac Fixed a bug where the editor would rarely freeze on exit when using UDPReceiver Support for iOS, Android, Mac Recently, as I personally started creating mobile apps with UE4 and the verification environment became available, I implemented support for mobile OSes. ...

2019-07-31 · 2 min · 231 words · ayumax