All Questions
Tagged with unity-game-engine swift
127
questions
0
votes
0
answers
21
views
Achievement Banner Not Shown
Achievement added successfully on players Game Center,user can see it on gamecenter platform
but while unlocking the achievement the banner is not visible on the screen,
I use unity platform for macOS
...
0
votes
1
answer
328
views
Is there a way to take a screen shot in macOS programmatically?
It seems like all the old frameworks have been deprecated (e.g. CGWindowListCreateImage) in favor of ScreenCaptureKit. Unfortunately it only offers streaming. Is there a simpler way I can get a ...
0
votes
0
answers
18
views
Apple TV Build - CloudKit plugin written in Obj-C & Swift, with C# wrapper, gives Error 1 "Response-Not-Possible"
To build my already working app for Apple TV, I wrote a plugin in Obj-C and Swift, and created a C# wrapper for Unity. The wrapper I added to Unity and the m and h plugin files I added to Xcode as ...
-2
votes
1
answer
32
views
Unity to Xcode Semantic Issue Error please assist
Hello guys this is my first time trying to publish an App on iOS. I am using Xcode version 13.0 beta
I am getting this Semantic Issue error while archiving and building the App on Xcode
.
if (@...
-1
votes
1
answer
218
views
Embedding Unity into Swift Project : No such module 'UnityFramework'
import Foundation
import UnityFramework
class Unity: UIResponder, UIApplicationDelegate {
static let shared = Unity()
private let dataBundleId: String = "com.unity3d.framework"
...
0
votes
0
answers
198
views
Xcode 15 Linked Error with UnityFramework and Firebase Integration
I'm developing an iOS app by integrating a Unity project, However, I am consistently facing errors in the UnityFramework each time I build.
**- Unity Editor Version: 2022.3.10f1
Firebase SDK Version: ...
0
votes
0
answers
26
views
Is it possible to render unity asset in react native with a transparent background ? ( interacting with RN app while having a 3d unity character )
using react-native-unity or other library, is it possible to make the unity view background transparent and click-through, making it possible to interact with the underlaying react native app?
tried ...
0
votes
1
answer
224
views
Unity contents integration for visionOS
I plan to develop an app with Swift based UI (contents selector) and Unity based 3D contents.
Would it be possible to integrate Swift and Unity?
I think Unity as a service is not compatible with ...
1
vote
0
answers
279
views
How do I return a parameter from a callback in Swift to Unity?
I am writing a iOS plugin for Unity in Swift, using a bridge in C. It looks something like this:
Unity (C#):
public class PluginHelper : MonoBehaviour
{
[DllImport("__Internal")]
...
-1
votes
2
answers
1k
views
Detecting a real world object using ARKit with iOS
I am currently playing a bit with ARKit. My goal is to detect a shelf and draw stuff onto it.
I did already find the ARReferenceImage and that basically works for a very, very simple prototype, but ...
1
vote
1
answer
497
views
Is there a way to display a Unity game in half of the screen on a mobile app or to put Swift UI elements on top of a Unity game in an iOS app?
I am currently looking for some way to display either a window with a Unity game or a fullscreen Unity game with swift UI elements added on top of it. Has anyone done this before or know if this is ...
1
vote
0
answers
571
views
Unity iOS native share plugin using swift and objective-c
I have a simple swift + objective-c plugin for my unity project which works. Below is the code for that -
c# -
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.UI;
using ...
2
votes
1
answer
401
views
How to pass a "completion handler" from Unity to Swift using Objective-C bridge
I am trying to create an IOS plugin to do some API calls for my Unity game.
I started with this article and got it running so that basic structuring is done.
Now to call any API and get its response ...
1
vote
0
answers
113
views
error: use of undeclared identifier 'FBSDKSwitchContextDialog'
Building IOS Unity build and during the xcode archive step it fails with the following message.
We have updated facebook unity sdk from 8.* to 12.*
Error messages
error: use of undeclared identifier '...
0
votes
1
answer
30
views
how to publish ios unity wrapper into unity asset store?
I have written, an ios framework (compatible with unity, as a unity wrapper).
*.framework file.
is it possible to publish it in unity asset store? if yes, how?